
Each group will program their bot to perform a 3 minute figure skating routine. Routines must include three different spins, three different geometric figures, music, and sensor activation for when the bot bumps "into the boards". Code will be compiled and downloaded via Larry the Laptop (so that Professor Schrader will have the final copy of the code for review). Final code will be downloaded on December 12, each bot performing for the class.
After each movement, the bot would wait 1 second before beginning the next move. Our glorious routine (THIS IS A TEST) started off with squares, went to triangles, then recangles, three different spins, and finished with going up and down a musical scale.
We started off planning what kind of shapes and spins we wanted, and programmed each one by itself to make sure the initial code was right before creating the whole thing, and making sure it would hit the time benchmark of 3 minutes. We stomped all the bugs and tried to put it together, which was ultimately the most challenging. We tried a multitude of things, including Mutex and putting all the little tasks into one. The problem turned out to be programming the sensor with everything else. After trying to figure out how to get the sensor working to no avail, we were told to just limit the bot to going 3 seconds in any one direction, because an ice skater knows how far they are from a wall without bumping into it. It worked that way.
You can check out the video right here!