Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Get occupied positions by a model

Hi everybody!

I have created a simple model in gazebo that it is just a rectangle or a simple polygon (like a L shape...). I am using gazebo with ROS Indigo, so I can get the model state through ros service /gazebo/get_model_state, where I obtain the pose and orientation. The pose is reflected by the center of mass of my model.

So, here is my question:

If I rotate my model , is tehre any way to obtain in Gazebo the positions that my model is occupying? I mean, not only the center of mass, but the coordinates occupied by the model.

Thank you very much for your help