These docs are public and open source.Edit on GitHub
RACECAR_CORE
The racecar_core module creates the car object, contains multiple submodules to interact with the car, and runs your program.
METHODS
EXAMPLE USAGE
pythonimport racecar_core rc = racecar_core.create_racecar() def start(): print("start: runs once") rc.drive.stop() def update(): # runs every frame print("update: runs every frame") def update_slow(): # runs once per second by default print("still driving") rc.set_start_update(start, update, update_slow) rc.go()
