I have created a launch file:
<launch>
<!-- start gazebo with an simple world -->
<param name="/use_sim_time" value="true" />
<node name="gazebo" pkg="gazebo" type="gazebo" args="$(find gazebo_worlds)/worlds/pool.world" respawn="false" output="screen"/>
</launch>
My .world file contains the below about my mesh file:
<model:physical name="pool">
<xyz>0.0 0.0 0.9</xyz>
<rpy>0 0 0</rpy>
<static>true</static>
<body:trimesh name="pool">
<geom:trimesh name ="pool_geom">
<scale>0.0254 0.0254 0.0254</scale>
<mesh>finalpool.dae</mesh>
<visual>
<scale>0.0254 0.0254 0.0254</scale>
<mesh>finalpool.dae</mesh>
</visual>
</geom:trimesh>
</body:trimesh>
</model:physical>
and I used the command line:
roslaunch gazebo_worlds pool_world.launch
but I get this error:
Error: [/tmp/buildd/ros-electric-simulator-gazebo-1.4.9/debian/ros-electric-simulator-gazebo/opt/ros/electric/stacks/simulator_gazebo/gazebo/build/gazebo/server/AssimpLoader.cc:37]
Importer Error:Collada: File came out empty. Something is wrong here./tmp/buildd/ros-electric-simulator-gazebo-1.4.9/debian/ros-electric-simulator-gazebo/opt/ros/electric/stacks/simulator_gazebo/gazebo/build/gazebo/server/AssimpLoader.cc:38 : Exception: Unable to import mesh file[/opt/ros/electric/stacks/simulator_gazebo/gazebo_worlds/Media/models/finalpool.dae] using assimp
Error: [/tmp/buildd/ros-electric-simulator-gazebo-1.4.9/debian/ros-electric-simulator-gazebo/opt/ros/electric/stacks/simulator_gazebo/gazebo/build/gazebo/server/MeshManager.cc:131]
Error loading mesh[/opt/ros/electric/stacks/simulator_gazebo/gazebo_worlds/Media/models/finalpool.dae]
Error: [/tmp/buildd/ros-electric-simulator-gazebo-1.4.9/debian/ros-electric-simulator-gazebo/opt/ros/electric/stacks/simulator_gazebo/gazebo/build/gazebo/server/MeshManager.cc:132]
/tmp/buildd/ros-electric-simulator-gazebo-1.4.9/debian/ros-electric-simulator-gazebo/opt/ros/electric/stacks/simulator_gazebo/gazebo/build/gazebo/server/AssimpLoader.cc:38 : Exception: Unable to import mesh file[/opt/ros/electric/stacks/simulator_gazebo/gazebo_worlds/Media/models/finalpool.dae] using assimp
How can I fix this?
Originally posted by Penny on ROS Answers with karma: 41 on 2012-01-26
Post score: 0