Create rough terrain for used in gazebo
hi all, i have to create a world with rough terrain. how shall i do that? somebody can suggest me a good tutorial?
thanks in advance
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org |
hi all, i have to create a world with rough terrain. how shall i do that? somebody can suggest me a good tutorial?
thanks in advance
I use Blender, an open-source 3D modelling and animation program, to create my terrains. For example, you could try this tutorial to get you started. There is also the option to use the sculpt tool to create terrains. You can also use Blender to create other meshes.
Once I create my terrain, I then export the terrain to Collada 1.4 (.dae) using the built-in Blender Collada exporter. This format is readable by Gazebo.
Finally, to get the terrain into Gazebo, I copy the .dae file to my Gazebo "models" directory (see below). I then add the terrain to the .world file so that it is guaranteed to be static.
<model:physical name="hill">
<xyz>5.0 -5.0 0.1</xyz>
<rpy>0 0 0</rpy>
<static>true</static>
<body:trimesh name="hill">
<geom:trimesh name="hill">
<scale>1.0 1.0 1.0</scale>
<mesh>ground_profile_test.dae</mesh>
<visual>
<scale>1.0 1.0 1.0</scale>
<mesh>ground_profile_test.dae</mesh>
</visual>
</geom:trimesh>
</body:trimesh>
</model:physical>
NOTE: You must configure your Gazebo media paths correctly. See here.
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2011-11-15 01:35:36 -0500
Seen: 4,930 times
Last updated: Nov 15 '11
How can I create a skydome in Gazebo?
No point cloud in Turtlebot Gazebo gmapping
Some part of the robot display below map ?
urdf_spawner -J option not working as intended
Gazebo plugin for ROS2 doesn't get loaded
Package to Interact with the turtlebot Simulator in Gazebo.''