Driving

How BugBot moves: by time, by distance, by turning, and sideways. Why it never goes quite straight, and the rule that keeps it safe.

Module 1Robot club6 lessons

Start in the simulator
  1. 1.1 Your first move Drive, wait, stop, the LED, and the safety rule.
  2. 1.2 Driving by distance Tell the robot how far, not how long. Where it thinks it is.
  3. 1.3 Turning and heading turn_left() and turn_right() by an angle, heading() as a compass, and turning on the spot.
  4. 1.4 Sideways Strafing: moving without turning, the thing wheels cannot do.
  5. 1.5 Speed and precision Coasting, overshoot, and why fast and accurate pull in different directions.
  6. 1.6 Project: draw a letter Plan a path, drive it, leave a trail.