This commit is contained in:
havocrao 2025-08-21 22:33:36 +08:00
parent 172d348c73
commit 1a94f95867
2 changed files with 4 additions and 5 deletions

View File

@ -46,10 +46,10 @@ def circle2(ctrl, msg):
ctrl.Send_cmd(msg)
time.sleep(10)
# #向
# #向
msg.mode = 11 # 旋转1
msg.gait_id = 3 # 自变频Trot步态
msg.vel_des = [0.0, 0.0, 0.4] # 顺时针旋转负Z轴速度
msg.vel_des = [0.0, 0.0, -0.4] # 顺时针旋转负Z轴速度
msg.duration = 4200 # 执行9.5秒后自动停止
msg.step_height = [0.06, 0.06]
msg.life_count += 1

View File

@ -112,10 +112,9 @@ def main():
# TAG task - 3 / 4 - part I
# arrow_direction = 'left'
if arrow_direction == 'left':
circle1(Ctrl, msg)
else:
circle2(Ctrl, msg)
else:
circle1(Ctrl, msg)
# TAG task - 5
# Ctrl.base_msg.stand_up()