Have a look at the files world/wg_collada.world and launch/wg_collada_world.launch in the gazebo_worlds package. They load a map from a collada file.
The code in question is:
<model:physical name="willow_map">
<xyz>-33.0 -15.0 0</xyz>
<rpy>0 0 0</rpy>
<static>true</static>
<body:trimesh name="willow_map_body">
<geom:trimesh name="willow_map_geom">
<scale>0.02 0.02 0.02</scale>
<mesh>willowgarage.dae</mesh>
<visual>
<scale>0.02 0.02 0.02</scale>
<mesh>willowgarage.dae</mesh>
</visual>
</geom:trimesh>
</body:trimesh>
</model:physical>
Asked: 2011-08-15 01:47:12 -0500
Seen: 512 times
Last updated: Aug 15 '11
How to programmatically reset Gazebo
gazebo crashes when calling delete_model service call
where do I get a gazebo diff drive plugin?
Material-dependent transparency in Gazebo
gazebo supported graphics card
Simulating multi-wheel vehicles in Gazebo
erratic_robot simulation and diamondback
ROS Answers is licensed under Creative Commons Attribution 3.0 Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.