Can't load collision model

asked 2021-02-11 19:13:02 -0500

srealper gravatar image

Gazebo is not loading the collision file of the model properly, saying it can't find the collision file. Launching Gazebo with the --verbose option, prints this when loading the model:

[Wrn] [SystemPaths.cc:459] File or path does not exist [""] [model://banana/collision.dae]
[Err] [MeshShape.cc:64] Failed to find mesh file [model://banana/collision.dae]

But the collision file is in the directory and I believe it's properly specified in the SDF file like this:

<collision name="collision">
 <geometry>
 <mesh><uri>model://banana/collision.dae</uri></mesh>
 </geometry>
</collision>

image description

Even though it is shown visually the collision model using the Collisions option in the View menu, it doesn't work, the banana falls trough the floor and the console says the file is not found.

image description

I'm using Gazebo11 in Ubuntu 20.04.

The collision model is a low-poly version of the visual model.

edit retag flag offensive close merge delete