ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Creating a world in Gazebo

asked 2011-03-18 03:19:27 -0500

Michael Vin gravatar image


I'm trying to create a world in Gazebo and am using the URDFs that come with ROS as samples to work from. I've created some walls and am currently working on creating some tables and counters, but i seem to be having a lot of issues with the collisions.

After dropping the model of the walls into Gazebo, I notice little by little it moves around. I'm guessing there are forces acting on it (i used the same settings as are in the "brics_rc_world.urdf" file): there is some inertial properties: mass=10, ixx=1, iyy=100, izz=1.

If i remove the <collision> tag, the object floats around. If i remove the <inertial> tags - same deal. I'd like to lay out all the walls and furniture (like kitchen counters and shelves) as though they are immobile. Once i start adding tables and chairs, that's a whole other story...

So, my question is: 1. Is there any way to nail certain things down to the floor and say these objects don't move - ever. 2. Is there more documentation on how to create worlds in Gazebo.

Thank you in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-03-21 08:45:03 -0500

nkoenig gravatar image

1) you can make things in Gazebo immovable by using the <static> tag. Set this to true in a model, and it won't be movable. Example: <static>true</static>

2) We are working on documentation for creating world files in Gazebo. Currently, the best method is to look at examples in the gazebo sources: roscd gazebo/gazebo/share/gazebo/worlds

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2011-03-18 03:19:27 -0500

Seen: 2,573 times

Last updated: Mar 21 '11