Contributors :
All of us pushed an all nighter for this. Thanks for a great BWSI everyone
You can watch a video of our record playthrough here.
-
grand_prix_fast.py
runs our record time code for the GP (opting to use line following for certain segments as it is faster). -
grand_prix.py
runs our code with each segment completed as intended, but produces a slower time.
Run racecar sim grand_prix.py
with the Simulator Environment open to run the code.
Each Python module inside /grand_prix
contains the code for a particular segment of the track.
grand_prix.py
and grand_prix_fast.py
pass the Racecar object to each of these modules as they detect AR Markers along the course. The file mappings are stored inside a dict
mapped to an IntEnum
for AR detection in both Grand Prix files.