Gazebo | Ignition | Community
Ask Your Question
0

How to put a model on a world created and export by blender?

asked 2021-11-08 02:47:53 -0600

huybuivn gravatar image

I has created my own world in blender with OSM. I has exported to .launch file to run in gazebo. And i run it successfully in gazebo, but how to put my robot car on this world. image description

Zoom out to see details of the world. image description

Bringing some objects to this world but the result is not as expected, the object sinks. image description

My Expected Result. image description

How can I make a world like the excepted result. Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-12-27 09:24:56 -0600

martinerk0 gravatar image

Check the SDF of models if they have set

<collision>

tag. You can set the collision geometry to the same as model, or simpler. If all your models have correctly set collision geometry, mass and other physics attributes, they should behave like you would expect and not fall through ground.

Also, you want to set ground's static parameter to 1:

 <model name='ground_plane'>
  <static>1</static>
  ...
 </model>
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2021-11-08 02:47:53 -0600

Seen: 408 times

Last updated: Dec 27 '21