I'm working on a school project with NXT and leJOS.
So far I used the DifferentialPilot class to control the movements of my robot.
Does this class automatically update the robot location which I could access with the Pose class or do I have to use the OdometryPoseProvider class?
I found this in the API:
It automatically updates a OdometryPoseProvider which has called the addMoveListener method on this object.
Or do I have to use the TachoNavigator class and use the updatePosition() method everytime manually?
I am a little bit confused with all the information in the API and all the different methods that can control the robot and update positioning information and which classes / methods work with each other.
Thank you guys in advance!