Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Can't load collision model

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.