1

I would like to knows is there a way to rotate the lego nxt using an angle based on two points r(x1,y1) and p(x2,y2) without causing any miscalculation when the robot changes from facing north to south,east or west. Thanks

Regards, Edward

Edward
  • 93
  • 10
  • 1
    Exactly how are the two points used for rotation? Is the robot position a third point (origin)? – Jake Sep 25 '12 at 16:37
  • @Jake using tangent to calculate the angle between the two points and the using the angle based on some calculations to rotate the robot to the object – Edward Sep 26 '12 at 03:55
  • 1
    You can't get an angle from only two points, you need to describe this moer thoroughly. – Jake Sep 26 '12 at 07:06

0 Answers0