Robotics StackExchange | Archived questions

Can I change the center of mass' position?

Hey there,

I've exported some meshes from Solid Works and in all of them the center of mass is not where it should be. The center of mass appears allways on the corner. I'm quite sure it have to be a problem related to Solid Works, so I've been looking for how to change the center of mass' position in Gazebo but nothing I've found. However, I wanted to ask if someone knows something about this. I'm using STL format btw.

Thanks.

Asked by magole on 2019-01-18 13:03:54 UTC

Comments

Answers

It sounds like a tutorial like this one could be helpful to you. In your model's SDF file, you can alter the visual and collision <pose>s so their origins are in a different place, and also alter the <inertial><pose> to move the location of the center of mass within the link.

Asked by chapulina on 2019-01-25 11:23:26 UTC

Comments