refactor: update body position parameters in gait configuration files and improve pass_bar function documentation
This commit is contained in:
parent
c7a712e241
commit
e249627a3e
4
main.py
4
main.py
@ -65,10 +65,10 @@ def main():
|
||||
Ctrl.base_msg.stand_up()
|
||||
Ctrl.base_msg.stop() # BUG 垃圾指令 for eat # INFO 但是正式比赛或许也有用
|
||||
|
||||
# TEST pass-bar
|
||||
turn_degree_v2(Ctrl, msg, degree=90, absolute=True)
|
||||
# TEST #1: pass-bar
|
||||
pass_bar(Ctrl, msg)
|
||||
Ctrl.base_msg.stand_up()
|
||||
Ctrl.base_msg.stop() # BUG 垃圾指令 for eat # INFO 但是正式比赛或许也有用
|
||||
|
||||
return
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -35,8 +35,7 @@ robot_cmd = {
|
||||
|
||||
def pass_bar(ctrl, msg):
|
||||
"""
|
||||
俯身通过一个栅栏;
|
||||
会默认前进一定的距离。
|
||||
俯身通过一个栅栏
|
||||
"""
|
||||
step_num = 8
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user