3D render of a RoboCup Junior rescue line course with ramp, obstacles, and evacuation zone

RoboCup Junior

Autonomous rescue robot

For 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.

Role
[ROLE]
Competition
RoboCup Junior Rescue
Duration
[DATES]
Tools
Python, TensorFlow, Arduino, Raspberry Pi, Coral Edge TPU
Result
[PLACEMENT]
Round 1

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.

Line following
Round 2

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.

Victim rescue

Architecture

Raspberry Pi + Coral Edge TPU
  • Camera vision, up to 20 fps
  • Line regression
  • Green marker detection
  • Ball and color detection
Arduino
  • Ultrasonic sensor
  • IMU
  • Motors
  • Motor encoders