I've set up a sample track in my basement but haven't set up the lights. How do I get it to start without the lights?
I've tried just commenting out "WaitForGo" but that didn't work
I see this in the Settings.py file. What are the other startupModes?
startupMode = 1 # Startup mode, use 1 for Race.py calling WaitForGo

All of the available image processing modes can be found towards the top of
ImageProcessor.py.Each mode is described in detail with their number here: Race Code Processing states
The ones that are probably most useful to you are:
This will behave normally, waiting for
Race.pyto callWaitForGoThis is the mode when
WaitForGois calledThis is normal racing behaviour, it will not wait for
Race.pyto be readyIf you still want
Race.pyto start the robot racing I would leave thestartupModeas 1.Instead swap
for
This will skip the light sequence (mode 2) and go straight to driving when called.
Perfect. Thanks!
Add new comment