Gazebo | Ignition | Community
Ask Your Question

Can I change the center of mass' position?

asked 2019-01-18 12:03:54 -0600

magole gravatar image

updated 2019-01-25 04:10:46 -0600

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.


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-01-25 10:23:26 -0600

chapulina gravatar image

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.

edit flag offensive delete link more

Question Tools



Asked: 2019-01-18 12:03:54 -0600

Seen: 3,300 times

Last updated: Jan 25 '19