Sensing

Knowing where you are and what is ahead: position and heading, the depth sensor, and reacting to the world.

Module 2Robot club6 lessons

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