Skip to content

Commit

Permalink
Waits for wheels to straighten on exit for 2s
Browse files Browse the repository at this point in the history
  • Loading branch information
harjaus committed Jun 19, 2019
1 parent 4389bbf commit 556a3dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zedMain.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def issueCommands(steering, velocity, exit, lastCommandTime=0.025):
if exit: #can exit protocol
print("Initiating CAN exit.")
issueCommands.car.set_steering_velocity(0,0)
time.sleep(0.5)
time.sleep(2)
issueCommands.car.exitCAN() #runs until we exit gracefully

def calculateCenter(target):
Expand Down

0 comments on commit 556a3dd

Please sign in to comment.