예제 #1
0
파일: RobotCell.cs 프로젝트: zimhe/Robots
 public double RadianToDegree(double radian, int i)
 {
     if (i < 6)
     {
         return(Robot.RadianToDegree(radian, i));
     }
     else
     {
         return(Externals.First(x => x.Joints.Contains(Joints.First(y => y.Number == i))).RadianToDegree(radian, i));
     }
 }
예제 #2
0
파일: RobotCell.cs 프로젝트: zimhe/Robots
 public double DegreeToRadian(double degree, int i)
 {
     if (i < 6)
     {
         return(Robot.DegreeToRadian(degree, i));
     }
     else
     {
         return(Externals.First(x => x.Joints.Contains(Joints.First(y => y.Number == i))).DegreeToRadian(degree, i));
     }
 }