Software Design
The software in our robot is publically available on GitHub. The logic is based on a simple state diagram:
- The robot continuously records the current alarm gate status.
- The user presses the start button.
- The robot follows tape up until the alarm gate.
- The robot waits until it is able to make it past the alarm gate without triggering the alarm.
- The robot follows tape up until the tub circle.
- The robot executes a manoeuvre to get onto the tub circle.
- The robot follows tape on the tub circle and grabs an agent at every intersection.
- After seeing 8 intersections, the robot executes a manoeuvre to drive parallel to the edge of the ramp.
- The robot raises the elevator, with the bucket containing all the rescued agents.
- The robot drives straight, and the bucket with the agents naturally slides off onto the zipline.