Browse Source
Ground planner context in measured robot state
Ground planner context in measured robot state
Replace planner's self-feedback loop with actual motor encoder + IMU data. The planner was reading its own previous output as context, causing IDLE mode to converge on straight knees (~12 deg) instead of the natural bent-knee posture (~38 deg). Now reads measured joint positions and IMU quaternion (with yaw stripped) each replan cycle. Toggle with 'm' key for A/B comparison. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>main
3 changed files with 92 additions and 1 deletions
-
14gear_sonic_deploy/src/g1/g1_deploy_onnx_ref/include/input_interface/gamepad_manager.hpp
-
60gear_sonic_deploy/src/g1/g1_deploy_onnx_ref/include/localmotion_kplanner.hpp
-
17gear_sonic_deploy/src/g1/g1_deploy_onnx_ref/src/g1_deploy_onnx_ref.cpp
Write
Preview
Loading…
Cancel
Save
Reference in new issue