stoped blink from overriding manual controll
This commit is contained in:
parent
6a0af064ce
commit
faa5b66587
1 changed files with 4 additions and 3 deletions
|
@ -131,9 +131,10 @@ def random_blinks():
|
|||
proot_state = StateSingleton()
|
||||
|
||||
if proot_state.get_animations_ready():
|
||||
proot_state.set_desired_expression(1)
|
||||
time.sleep(0.2)
|
||||
proot_state.set_desired_expression(0)
|
||||
if proot_state.current_expression == proot_state.states[0]:
|
||||
proot_state.set_desired_expression(1)
|
||||
time.sleep(0.2)
|
||||
proot_state.set_desired_expression(0)
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue