Home | Tutorials | Wiki | Issues
Ask Your Question
0

How to get model bounding box

asked 2017-08-30 05:27:44 -0500

federico.nardi gravatar image

Hi all,

I'm using gazebo for robotic experiments in combination with ROS.

My problem is the following: given the name of a certain model in the scene (published on a topic) I need to write a ROS node that is capable of determining the bounding box of the model.

I'm searching among the various services that gazebo exposes to ROS and I came across this. But I don't know how to extract the required information from this message.

Please, can someone tell me how this can be done?

Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-08-31 11:03:52 -0500

chapulina gravatar image

Not sure if this can be easily done through ROS without a Gazebo plugin.

With a Gazebo plugin, you could write a model plugin and use the physics::Model::BoundingBox() function.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-08-30 05:27:44 -0500

Seen: 631 times

Last updated: Aug 31 '17