mirror of
https://github.com/brendanhaines/ECEN5458_Project.git
synced 2024-12-26 10:57:55 -07:00
stop motors when controller stops
This commit is contained in:
parent
dbd4da7a8f
commit
972c7e764b
|
@ -194,6 +194,7 @@ def stop_controller(attrname=None, old=None, new=None):
|
||||||
control_thread = None
|
control_thread = None
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
servos[ii].throttle = 0
|
||||||
|
|
||||||
# GUI elements
|
# GUI elements
|
||||||
cal_white_button = Button(label="Cal White")
|
cal_white_button = Button(label="Cal White")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user