fixed that not enabled can turn down fire
This commit is contained in:
@@ -73,6 +73,7 @@ def main():
|
|||||||
cross_cooldown -= 1
|
cross_cooldown -= 1
|
||||||
|
|
||||||
# Тушение
|
# Тушение
|
||||||
|
if enabled:
|
||||||
if special == 'dome' and not dome_processed:
|
if special == 'dome' and not dome_processed:
|
||||||
robot.send_fire_ext_burst_cmd()
|
robot.send_fire_ext_burst_cmd()
|
||||||
dome_processed = True
|
dome_processed = True
|
||||||
@@ -96,6 +97,7 @@ def main():
|
|||||||
dynamic_counter = 30
|
dynamic_counter = 30
|
||||||
|
|
||||||
'''
|
'''
|
||||||
|
if enabled:
|
||||||
if dynamic_gesture == 'wave_left':
|
if dynamic_gesture == 'wave_left':
|
||||||
robot.reset_position()
|
robot.reset_position()
|
||||||
elif dynamic_gesture == 'wave_right':
|
elif dynamic_gesture == 'wave_right':
|
||||||
|
|||||||
Reference in New Issue
Block a user