RoboCup Jr 2023
An autonomous rescue robot that follows a line through obstacles and recovers victims from an evacuation zone.
- Result
- 3rd in Italy · 15th in Europe
- Events
- Bari · Vicenza · Varaždin
- Platform
- Lego Mindstorms EV3
- Language
- MicroPython on Linux
Goal
Our robot was designed to follow a black line on white tiles. The line is constantly interrupted by various types of obstacles: physical barriers, solid objects blocking the robot's path, line breaks, intersections, intersections with mandatory directions marked by green tape, ramps, and underpasses.
Once it completes the course, the robot must enter the evacuation zone, a rescue area where victims are located: 2 live victims (represented by silver balls) and 1 deceased victim (represented by a black ball). The robot must rescue all the victims and bring them to the safe zone.
Meaning
The purpose of this category is to simulate a disaster scenario where humans are unable to reach potential victims in need of rescue. Modern technologies have advanced to unprecedented levels, making it crucial to start training both young people and robots from an early age, so that they develop skills that can later be applied to realistic scenarios.
This training helps future generations handle emergency situations and use cutting-edge technology to save lives. The goal is to foster a generation of innovators and rescuers able to navigate and overcome complex challenges in times of crisis.
Robot
Our robot was a Lego Mindstorms EV3. We chose it for its versatility in construction, which allowed us to easily build and modify it, and for its programmable nature. Even though it is a block-programmed robot, it poses a significant challenge in developing the algorithm: blocks can be a major limitation, and working around them requires both time and knowledge of the language.
For the European competitions, we installed a Linux-based operating system on the robot to run MicroPython and program it in code. Despite considerable physical limitations, we built an algorithm fine-tuned to navigate the entire course and rescue the victims.
Code
The most crucial part of our code was the algorithm for the evacuation zone. We used MicroPython, a lightweight version of Python, to perform a form of supervised learning.
The robot's database contained a series of measurements of the evacuation zone: first empty, then with the safe zones (triangles) in every corner, and finally with the exits on every edge. When the robot enters the evacuation zone during the competition, it measures the current context and compares it with its database to reconstruct a model of the zone as configured for that run.
Using the standard deviation, it also recognises spikes in the measurements that correspond to the shape of the balls, allowing it to locate and rescue them.
Skills
We strengthened our programming skills, particularly in MicroPython, and gained a deeper understanding of algorithms and their practical applications. Developing a working robot sharpened our problem-solving.
We improved our engineering skills by building and modifying the EV3, learning to optimise its physical design for performance. We also developed strong teamwork, since clear communication and coordination were essential, and learned the value of perseverance and adaptability as we kept refining our approach in response to unexpected obstacles.