We are trying to figure out how to load and run the code to test our piBorg. Currently we have the robot built, the pi-Zero hooked to monitor, keyboard, mouse, and internet. We have the sourceforge files (and directories) copied on the pi-Zero. What is next?
Sorry if we didn't find the instructions. We want to simulate a physical track and watch the robot in action rather than try the software simulation.
Any help would be appreciated.
Thanks
The first thing you will need to do is get the camera and OpenCV ready.
If you have not already go to these instructions: Standard Formula Pi SD card image
You will need to go through the Setting up the camera instructions to do this.
Once that is done the code should be ready to run like so:
At this point the code should be waiting for the lights.
A quick test is to put a large green card towards the top of the camera image.
If it can see the bright green it should turn the LED on the ZeroBorg on and print a message to the screen.
Repeat with a red card then the green card again and the code should turn the LED off and start running the race.
If the code is running happily you can make it run at startup by following the Final notes section of the SD card instructions.
Add new comment