Chapter 7
Motors and Motion
Once you’ve built your robot, you’re going to want it to go somewhere—and everyone knows the shortest distance between two places is a straight line. In the world of LEGO robots, going straight is one of those things that is easier said than done. Many new teams in FLL will rely on odometry, or dead-reckoning, to get their robot to the desired location on the game field.
Odometry is when you use measurements or rotations as a way to navigate your robot to a point on the field. You’re simply telling the robot to go a predefined distance, and using the rotation sensors built into your robot’s NXT motor to determine if you’ve gone the desired distance. The position will be measured relative to your starting point. ...
Get Winning LEGO MINDSTORMS Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.