Odometry Academy · Mission 2 of 12 · about 30 min · Free

The field is a graph

To tell a robot "go there," you need a way to name every spot on the field. That's what X and Y coordinates are for.

X, Y, and heading Y goes forward. If the robot drives straight ahead 24 inches, Y goes from 0 to 24. X goes right. Slide 24 inches right and X becomes 24. Left is negative. Heading (also called theta or θ) is which way the robot faces, in degrees. 0 is straight ahead, 90 is right, 180 is backward, 270 (or -90) is left. It goes clockwise , like a compass. Everything is in inches . One foam tile is 24 inches, and the whole field is 6 tiles, which is 144 inches on each side. Where is (0, 0)? Wherever you say! At the start of auton you write chassis.setPose(0, 0, 0); which means "right now I'm at (0, 0), facing 0°." Every spot after that is measured from where the robot started. Lab: Coordinate finder click the field Click anywhere on the field. The robot starts at (0, 0) facing up. Try these Click one tile straight ahead of the robot. You should get about (0, 24). Click one tile to the right of that. Now it's about (24, 24). Click behind the robot. Y turns negative.

Ends with a 10-question quiz.

Next mission: How tracking wheels count

All Odometry Academy missions

  1. Why your auton drifts · about 30 min
  2. The field is a graph · about 30 min
  3. How tracking wheels count · about 35 min
  4. From blocks to C++ · about 35 min
  5. Build your robot's config · about 45 min
  6. Test your odometry · about 35 min
  7. Your first moves · about 40 min
  8. Auton Builder · about 35 min
  9. Tuning with PID · about 45 min
  10. Plan an autonomous route · about 40 min
  11. Fix-it guide · about 30 min
  12. Install PROS + LemLib · about 40 min

Home · Courses · Pricing · Story · Studio · VEX IQ