This is a project that my son and I did together a few months ago for his school science fair. His topic was Robot Sensors — so we built a maze and wrote some code for Sparki. Sparki will navigate the maze, find an object at the END of the maze, retrieve the object, and carry it to the START of the maze where he will release it. You can start Sparki anywhere in the maze. We use START and END markers for the maze so Sparki will know where to pick up the object (if he doesn’t already have it) and where to release the object (if he has it in his possession).
The full source code, maze specs, program flow, and the special maneuvering algorithms are available on GitHub:
Here is a short video demonstrating the project:
Questions and comments welcome!
We hope someone finds this useful for their own project!
Steve and Jon