Update run_task_3_back in main.py to include time_sleep parameter for consistent timing during execution.
This commit is contained in:
parent
68cae0c85a
commit
fe391e1360
2
main.py
2
main.py
@ -68,7 +68,7 @@ def main():
|
|||||||
run_task_5(Ctrl, msg, direction=arrow_direction, time_sleep=TIME_SLEEP)
|
run_task_5(Ctrl, msg, direction=arrow_direction, time_sleep=TIME_SLEEP)
|
||||||
|
|
||||||
if arrow_direction == 'left':
|
if arrow_direction == 'left':
|
||||||
run_task_3_back(Ctrl, msg)
|
run_task_3_back(Ctrl, msg, time_sleep=TIME_SLEEP)
|
||||||
else:
|
else:
|
||||||
run_task_4_back(Ctrl, msg)
|
run_task_4_back(Ctrl, msg)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user