Closed
Description
donkeycar/donkeycar/templates/simulator.py
Line 337 in f162c76
In the above line, I think it should instead be:
return pilot_angle if pilot_angle else 0.0, pilot_throttle * cfg.AI_THROTTLE_MULT if pilot_throttle else 0.0, pilot_brake if pilot_brake else 0.0
Without the safety check for pilot_throttle, my program was crashing when trying to run an AI
Metadata
Metadata
Assignees
Labels
No labels