The CompassPilot class, like its superclass, can keep track of the robot position and the direction angle it faces; It uses a compassPpilot bject to control NXT robot movements.
The position and direction angle values are updated automatically when the movement command returns after the movement is complete and and after stop() command is issued.
Moves the NXT robot in a circular path through a specific angle;
Negative turnRate means center of turning circle is on right side of the robot;
Range of turnRate values : -200 : 200 ;
Robot will stop when total rotation equals angle.
Moves the NXT robot in a circular path, and stops when the direction it is facing has changed by a specific angle;
Returns immediately if immediateReturn is true.
The TachoNavigator class can keep track of the robot position and the direction angle it faces; It uses a _pilot object to control NXT robot movements.
The position and direction angle values are updated automatically when the movement command returns after the movement is complete and and after stop() command is issued.