fix: up
This commit is contained in:
parent
7470426680
commit
d6dfafab9a
3
main.py
3
main.py
@ -92,9 +92,6 @@ def main():
|
|||||||
go_straight_with_enhanced_calibration(Ctrl, msg, distance = 5, speed=0.5, observe=False, mode=11, gait_id=3, step_height=[0.21, 0.21])
|
go_straight_with_enhanced_calibration(Ctrl, msg, distance = 5, speed=0.5, observe=False, mode=11, gait_id=3, step_height=[0.21, 0.21])
|
||||||
elif TASK == TaskType.STONE_ROAD:
|
elif TASK == TaskType.STONE_ROAD:
|
||||||
from task_3.task_3 import pass_stone
|
from task_3.task_3 import pass_stone
|
||||||
turn_degree_v2(Ctrl, msg, degree=-90, absolute=True)
|
|
||||||
Ctrl.base_msg.stand_up()
|
|
||||||
Ctrl.base_msg.stop() # BUG 垃圾指令 for eat # INFO 但是正式比赛或许也有用
|
|
||||||
pass_stone(Ctrl, msg, distance = 4, observe=False)
|
pass_stone(Ctrl, msg, distance = 4, observe=False)
|
||||||
else:
|
else:
|
||||||
pass
|
pass
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user