Gazebo | Ignition | Community
Ask Your Question

Build a world with different surfaces

asked 2018-03-15 05:18:46 -0500

eed gravatar image

updated 2018-09-17 01:10:00 -0500

Hi, I would like to create a world in Gazebo with different surfaces, like ice oder glas. So that the Rover P3AT has different friction and so on at specific places.

I can only finde the default 'ground plane' in Gazebo are there any different surfaces and how can I mix them?

Thank you in advance!

My try is as follows: Blue Surface C:\fakepath\model.sdf

Red Surface: C:\fakepath\model.sdf

And the resulting world is C:\fakepath\

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-03-16 04:31:36 -0500

Raskkii gravatar image

Generally you have to make your own models if you'd like to try different surfaces. Easiest way would be to make a copy of the original ground_plane, and modify the model.sdf file (friction). You can also modify its size so you could possibly fi t multiple of your custom ground planes into the same world.

edit flag offensive delete link more


Thanks, I will try it out

eed gravatar imageeed ( 2018-03-16 04:51:43 -0500 )edit

I tried this. But the friction is not different even if I choose them different. For example I have one surface with friction 0 and the other with friction 100. On the whole surface my rover is moving forward. If I choose both to 0. The rover isn't moving (as expected). But why it doesn't work with 2 different friction in one world

eed gravatar imageeed ( 2018-09-17 01:04:00 -0500 )edit

Hmm, what if you tried making one ground plane with friction 100 and then insert a very thin box on the ground plane with a friction of 0. (Make sure to set it static). And then try driving on both surfaces

Raskkii gravatar imageRaskkii ( 2018-09-17 01:29:20 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-03-15 05:18:46 -0500

Seen: 262 times

Last updated: Sep 17 '18