2 Robots Working

Because we refactored the code to treat the robots as objects, it was a cinch to add in a second robot, and we are now tracking 2 robots (green and blue) while we experiment with the LED’s and their effectiveness at color detection.  It will be a simple matter to expand from 2 to 6 robots, but as we add incremental control functions, we must be sure to make the functions generic.  Currently the only functions written and tested are for updating the position of a robot and setting their color.  Code to move a robot to a specific coordinate is written but untested because of our inability to track the robots.  The majority of our work now is being directed toward better tracking algorithms.

Article written by

Leave a Reply