1 version

elisha
gestures2 2 weeks ago
parent 79146f079b
commit adbd59de14

@ -99,7 +99,7 @@ def main():
special = special_detector.predict(landmarks)
# Вкл/выкл управления жестами
if special == 'cross' and cross_cooldown == 0:
if special == 'dome' and cross_cooldown == 0:
enabled = not enabled
cross_cooldown = CROSS_COOLDOWN_FRAMES
if cross_cooldown > 0:
@ -107,10 +107,10 @@ def main():
# Тушение
if enabled:
if special == 'dome' and not dome_processed:
if special == 'cross' and not dome_processed:
robot.send_fire_ext_burst_cmd()
dome_processed = True
elif special != 'dome':
elif special != 'cross':
dome_processed = False
# Скорости из рук

@ -1 +1 @@
Subproject commit e74f1b09d71973da345aeff691daeda954e5c080
Subproject commit 096ee5143f8c2c414b58f88c0b8fcda53dbc847e
Loading…
Cancel
Save