🐞 Bug
@Ipuch
In a mjcf model, when the first body is fixed in worldbody (no joint attached to it) the position and orientation of said body is not taken into account when building the pinocchio model.
Please use the model here to test out the reproduction steps.
Reproduction steps
import pinocchio as pin
import numpy as np
model = pin.buildModelFromMJCF("arm26_mujoco.xml")
data = model.createData()
q = np.zeros((model.nq,))
pin.framesForwardKinematics(model, data, q)
print(data.oMf[model.getFrameId("base", pin.FrameType.BODY)]) # should be non identity, since it's position in the worldbody is non identity in the model
Relevant log output / Error message
System Info
pinocchio version is 3.8.0
Checklist