Sensing
Knowing where you are and what is ahead: position and heading, the depth sensor, and reacting to the world.
Start in the simulator- 2.1 Where am I? position(), heading(), velocity(), and resetting them.
- 2.2 The distance sensor distance() and loops that react to it.
- 2.3 The depth grid 64 readings, 8 columns: seeing left and right, not just ahead.
- 2.4 Getting round things Detect, sidestep, continue: the first obstacle avoidance.
- 2.5 Drift and correction Why the robot wanders, and the first closed loop.
- 2.6 Project: the maze Walls, corners and a goal. Everything in this module in one run.