Closed elpimous closed 10 months ago
sim2real_scale_factor is used to handle the mass difference between Ghost Robotics' original spirit40 SDF file and the actual mass of our robot. The original SDF recorded a weight of 5.75kg and a total mass of 11.6620kg. But we weighed our robot and found its mass to be 13.3 kg. We assume that all extra mass is added to the body, so we add this scaling factor to the body mass and body inertia. Note that the SDF files in this repository have been matched to the actual mass of the robot. If you have actual measurements of the robot's physics, you can just set this factor to 1.
For the leg mass calculation, we only summed the link mass of the legs since all of the Spirit 40's motors are on the side near the body.
Hip offset is the vector in the body frame from the body COM to the first leg motor.
The body inertia should be symmetrical and the order is [Ixx, Ixy, Ixz; Iyx, Iyy, Iyz; Izx, Izy, Izz], where Ixy = Iyx, Ixz=Izx, Iyz=Izy.
can you confirm the following params :