Moveit could not load resource mesh, rendering error

asked 2022-11-10 14:12:51 -0500

quarkytale gravatar image

I need some help figuring out the cause of this issue. I have my moveit2 installation from source in Humble and Ubuntu 22.04. Trying to use the moveit_setup_assistant for planning assets of an arm.

[moveit_setup_assistant-1] Error:
Error retrieving file [/home/user/demos_ws/src/simulation/models/canadarm/meshes/joint_v3_0.dae]: [moveit_setup_assistant-1] at line 277 in /home/user/moveit2/src/geometric_shapes/src/mesh_operations.cpp [moveit_setup_assistant-1] [rviz_rendering:error] Could not load resource [/home/user/demos_ws/src/simulation/models/canadarm/meshes/joint_v3_0.dae]: Unable to open file "/home/user/demos_ws/src/simulation/models/canadarm/meshes/joint_v3_0.dae"., at /home/user/moveit2/src/rviz/rviz_rendering/src/rviz_rendering/mesh_loader.cpp:131

edit retag flag offensive close merge delete

Comments

Can you please point us to the repository where these mesh files are?

ravijoshi gravatar image ravijoshi  ( 2022-11-11 03:29:41 -0500 )edit
quarkytale gravatar image quarkytale  ( 2022-11-13 00:56:04 -0500 )edit

Thank you very much for sharing the URL. Unfortunately, I don't see any launch file in the package. So I can not reproduce the issue. Meanwhile, I found a similar article in this link.

ravijoshi gravatar image ravijoshi  ( 2022-11-14 02:37:53 -0500 )edit

Sorry launch file is in a different package canadarm.launch.py.

Thanks for sharing the article, I did try removing the find:// path with package:// and even just absolute path to the mesh files, but still facing the same issue.

quarkytale gravatar image quarkytale  ( 2022-11-17 17:58:01 -0500 )edit

I wanted to replicate your errors, so I built your package locally. Before that, I disabled start_world and spawn. The build process was successful. The ros2 launch canadarm canadarm.launch.py command is running smoothly.

ravijoshi gravatar image ravijoshi  ( 2022-11-21 03:21:59 -0500 )edit