mirror of
https://github.com/brendanhaines/ECEN5458_Project.git
synced 2024-12-25 18:38:09 -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
|
||||
except:
|
||||
pass
|
||||
servos[ii].throttle = 0
|
||||
|
||||
# GUI elements
|
||||
cal_white_button = Button(label="Cal White")
|
||||
|
|
Loading…
Reference in New Issue
Block a user