Robotics StackExchange | Archived questions

Moveit could not load resource mesh, rendering error

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 moveitsetupassistant for planning assets of an arm.

[moveitsetupassistant-1] Error:
Error retrieving file [/home/user/demosws/src/simulation/models/canadarm/meshes/jointv30.dae]: [moveitsetupassistant-1] at line 277 in /home/user/moveit2/src/geometricshapes/src/meshoperations.cpp [moveitsetupassistant-1] [rviz_rendering:error] Could not load resource [/home/user/demosws/src/simulation/models/canadarm/meshes/jointv30.dae]: Unable to open file "/home/user/demosws/src/simulation/models/canadarm/meshes/jointv30.dae"., at /home/user/moveit2/src/rviz/rvizrendering/src/rvizrendering/meshloader.cpp:131

Asked by quarkytale on 2022-11-10 15:12:51 UTC

Comments

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

Asked by ravijoshi on 2022-11-11 04:29:41 UTC

Here you go https://github.com/space-ros/simulation/tree/main/models/canadarm

Asked by quarkytale on 2022-11-13 01:56:04 UTC

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.

Asked by ravijoshi on 2022-11-14 03:37:53 UTC

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.

Asked by quarkytale on 2022-11-17 18:58:01 UTC

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.

Asked by ravijoshi on 2022-11-21 04:21:59 UTC

Answers