fix: up
This commit is contained in:
parent
ae8e12bf74
commit
253f5eab81
5
main.py
5
main.py
@ -72,8 +72,7 @@ def main():
|
||||
pass_bar(Ctrl, msg)
|
||||
elif TASK == TaskType.YELLOW_LIGHT: # TODO image
|
||||
from task_3.task_3 import go_until_yellow_area
|
||||
# turn_degree_v2(Ctrl, msg, degree=-90, absolute=True)
|
||||
go_until_yellow_area(Ctrl, msg)
|
||||
go_until_yellow_area(Ctrl, msg, yellow_ratio_threshold=0.05)
|
||||
elif TASK == TaskType.RED_BAR:
|
||||
from task_4.task_4 import go_straight_until_red_bar
|
||||
go_straight_until_red_bar(Ctrl, msg)
|
||||
@ -96,7 +95,6 @@ def main():
|
||||
#TAG task - 1
|
||||
# run_task_1(Ctrl, msg, time_sleep=TIME_SLEEP)
|
||||
|
||||
|
||||
# TAG task - 2
|
||||
# arrow_direction='left'
|
||||
# arrow_direction = run_task_2_demo(Ctrl, msg, xy_flag=False) # TEST
|
||||
@ -105,7 +103,6 @@ def main():
|
||||
# print('🏹 arrow_direction: ', arrow_direction)
|
||||
|
||||
|
||||
|
||||
# if(arrow_direction=='left'): speak("左侧路线")
|
||||
# else: speak("右侧路线")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user