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

The center of pressure always offset, How to solve it? #30

Closed zhuiyuehun closed 1 year ago

zhuiyuehun commented 1 year ago

Hello,Mr Liao, I apply to go1 robot , as the title describes, the center of gravity always offset,even if I adjust to the middle position when it on stance mode, but change the mode to “trot”,it offset too.
IMG_0016 And second question , The order of force data of “current state.input” is “LF LH RF RH” ,or. ”LF RF LH RH ”?

qiayuanl commented 1 year ago

There may be a bias in imu's orientation output. Or the CoM of Go1 is not in the geometry center of the torso.

LF, LH, RF, RH.

zhuiyuehun commented 1 year ago

Thank for your answer. If the center of gravity is not at the geometric center and offset so large distance, Can this repository handle it?

qiayuanl commented 1 year ago

Yes