qiayuanl / legged_control

Nonlinear MPC and WBC framework for legged robot based on OCS2 and ros-controls
BSD 3-Clause "New" or "Revised" License
854 stars 217 forks source link

Issues with Tilting Forward and Inconsistent Leg Angles When Porting Library to a Different Robot #68

Open honghongzhenbang opened 1 month ago

honghongzhenbang commented 1 month ago

I'm porting this library to another robot and would like to ask for help in understanding why this robot has a tendency to tilt forward and why the angles of the front and rear legs are inconsistent. In my xacro file, the front and rear legs are identical except for the direction, and the info file configuration in the controller is the same. The center of mass of the robot's torso is also centered. Any help is appreciated.

Uploading 无标题视频——使用Clipchamp制作.mp4…

honghongzhenbang commented 1 month ago

https://github.com/qiayuanl/legged_control/assets/36393580/8d6f54ca-08e1-4acd-89ca-fee4117a2daf