
RoboCup Junior
Autonomous rescue robotFor RoboCup Junior I built an autonomous rescue robot. The challenge has two parts: follow a line across the course, then find and rescue the victims at the end.
The robot sees with TensorFlow models running on a Raspberry Pi with a Coral Edge TPU, at up to 20 frames per second. An Arduino handles the sensors and motors, and the two talk over a serial protocol I wrote.
Line following
A TensorFlow linear regression model reads the line from the camera and keeps the robot on it. A second, object detection model spots the green squares that mark which way to turn at each intersection.
[image]
Victim rescue
In the rescue area, TensorFlow object detection finds the victims, which are balls, and tells their colors apart so the robot can handle each one correctly.
[image]
Architecture
Raspberry Pi + Coral Edge TPU
- Camera vision, up to 20 fps
- Line regression
- Green marker detection
- Ball and color detection
Custom serial
Arduino
- Ultrasonic sensor
- IMU
- Motors
- Motor encoders