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