From 556a3dde51699dc4e6ee6b402c3d310874f1bb36 Mon Sep 17 00:00:00 2001 From: Serge Date: Wed, 19 Jun 2019 11:13:12 +0100 Subject: [PATCH] Waits for wheels to straighten on exit for 2s --- zedMain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zedMain.py b/zedMain.py index e41645c..40db8be 100644 --- a/zedMain.py +++ b/zedMain.py @@ -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):