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