0
$\begingroup$

Gazebo Answers logo

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?

Thanks!


Originally posted by Evan Drumwright on Gazebo Answers with karma: 21 on 2014-12-13

Post score: 2

$\endgroup$

1 Answer 1

0
$\begingroup$

Gazebo Answers logo

Hi,

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

Cheers, Andrei


Originally posted by AndreiHaidu with karma: 2108 on 2014-12-14

This answer was ACCEPTED on the original site

Post score: 1


Original comments

Comment by Evan Drumwright on 2014-12-14:
This is perfect. Thanks!

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.