Robotics StackExchange | Archived questions

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.

Asked by srealper on 2021-02-11 20:03:57 UTC

Comments

Answers