Seeing more

The camera, part two: lines on the mat, tags and LEDs on other robots, following a moving robot, bumps the sensors missed, and predicting where a robot will be.

Module 6Robot club8 lessons

Start in the simulator
  1. 6.1 Lines The line detector: cx and angle, and the empty list.
  2. 6.2 Following a line cx to rotation, the angle as a look-ahead, speed on the straights.
  3. 6.3 Losing the line Gaps: carry on, then search with a state machine.
  4. 6.4 Seeing other robots Tags from 100 up say who and how far; LEDs say what.
  5. 6.5 Following a robot Two controllers that never finish: chase a moving tag at a set distance.
  6. 6.6 Bumps and stalls bumped(), stalls from velocity, back off and go round.
  7. 6.7 Where will it be Two sightings give a velocity: give way to a robot crossing your path.
  8. 6.8 Project: the delivery Follow a line to a marker and back through traffic.