Gazebo | Ignition | Community
Ask Your Question

Adding obstacles programmatically to Gazebo

asked 2014-12-13 18:45:52 -0500

Evan Drumwright gravatar image

I want to add a number of random obstacles (boxes in particular) to Gazebo programmatically. In particular, given n boxes to add, I'd like to add a box of random dimensions to a random pose (constrained to, say, lie on the ground plane). What is the easiest way to do this?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-12-14 04:04:43 -0500

AndreiHaidu gravatar image


take a look at this tutorial, it shows you how to add models to the world from a world plugin.

Cheers, Andrei

edit flag offensive delete link more


This is perfect. Thanks!

Evan Drumwright gravatar imageEvan Drumwright ( 2014-12-14 13:25:08 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2014-12-13 18:45:52 -0500

Seen: 613 times

Last updated: Dec 14 '14