Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Query the dimensions of an object

Is there a way to get the dimensions of an object in (Ignition) Gazebo? I guess it's solvable by implementing a custom plugin, but are there any simpler ways? Maybe a service i'm missing?

Query the dimensions of an object

Is there a way to get the dimensions of an object in (Ignition) Gazebo? I guess it's solvable by implementing a custom plugin, but are there any simpler ways? Maybe a service i'm missing?

Update: To clarify, i want to know is the width/height/depth of a model downloaded from fuel. I think this is what the ModelPhotoShoot plugin does internally: https://github.com/gazebosim/gz-sim/blob/3bde4b5318f9bed37e2fc8dbe5877bbdc9b73ae1/src/systems/model_photo_shoot/ModelPhotoShoot.cc#L235

Query the dimensions of an object

Is there a way to get the dimensions of an object in (Ignition) Gazebo? I guess it's solvable by implementing a custom plugin, but are there any simpler ways? Maybe a service i'm missing?

Update: To clarify, i want to know is the width/height/depth of a model model's bounding box downloaded from fuel. I think this is what the ModelPhotoShoot plugin does internally: https://github.com/gazebosim/gz-sim/blob/3bde4b5318f9bed37e2fc8dbe5877bbdc9b73ae1/src/systems/model_photo_shoot/ModelPhotoShoot.cc#L235

Query the dimensions of an object

Is there a way to get the dimensions of an object in (Ignition) Gazebo? I guess it's solvable by implementing a custom plugin, but are there any simpler ways? Maybe a service i'm missing?

Update: To clarify, i want to know is the width/height/depth of a model's bounding box downloaded from fuel. I think this is what the ModelPhotoShoot plugin does internally: https://github.com/gazebosim/gz-sim/blob/3bde4b5318f9bed37e2fc8dbe5877bbdc9b73ae1/src/systems/model_photo_shoot/ModelPhotoShoot.cc#L235