ソースを参照

更新机器人前进移动的参数,等待训练好前进移动模型,就可以加载进行测试

corvin_zhang 3 週間 前
コミット
fa86fec2a5

+ 31 - 0
guguji_real_robot/host/configs/guguji_real_robot_forward_transition.yaml

@@ -0,0 +1,31 @@
+# guguji 真机低速前进过渡测试配置
+# 用途:全承重站立稳定后,先用 forward_transition 模型做 1~3 秒短时前进试探。
+
+network:
+  esp32_host: 192.168.4.1
+  command_port: 7777
+  telemetry_bind_host: 0.0.0.0
+  telemetry_port: 7778
+  telemetry_timeout_s: 1.0
+
+control:
+  # 比站立略强,但比 walk_cautious 更保守,优先观察脚步方向和身体姿态。
+  kp: [18.0, 22.0, 15.0, 10.0, 18.0, 22.0, 15.0, 10.0]
+  kd: [0.40, 0.50, 0.38, 0.28, 0.40, 0.50, 0.38, 0.28]
+
+safety:
+  max_joint_step_rad: 0.010
+  max_roll_rad: 0.60
+  max_pitch_rad: 0.60
+  max_joint_velocity_rad_s: 2.2
+  arm_position_limit_margin_rad: 0.08
+  run_position_limit_margin_rad: 0.14
+
+state_estimation:
+  estimated_base_height_m: 0.35
+  estimated_forward_velocity_m_s: 0.0
+  # forward_transition 模型训练目标速度为 0.05m/s,真机首次前进从这里开始。
+  target_forward_velocity_m_s: 0.05
+
+logging:
+  status_interval_s: 0.2