This PR fixes a small mistake in the position of the center of mass for the lower leg inertia, causing the center of mass to be slightly sideways although the robot should be symmetric.
Using:
# Compute CoM position
q0 = pin.neutral(model)
pin.centerOfMass(model, data, q0)
print(data.com[0])
returns [ 0. 0.00038689 -0.03449762] before the fix, and [ 0. 0. -0.03449762] after.
This PR fixes a small mistake in the position of the center of mass for the lower leg inertia, causing the center of mass to be slightly sideways although the robot should be symmetric.
Using:
returns
[ 0. 0.00038689 -0.03449762]
before the fix, and[ 0. 0. -0.03449762]
after.