Page 1 of 1
Problem with URDF Importer
Posted: 18 Sep 2021, 22:23
by Erfan
Hello,
I am using the URDF importer plugin to import a model of a Staubli manipulator, unfortunately it appears that the plugin incorrectly instantiates the model. This problem also exist for other urdf files such as Panda robot ......
I think there is problem with URDF importer. Could somebody kindly help me to solve this issue?
Thank you and regards,
Erfan
Re: Problem with URDF Importer
Posted: 19 Sep 2021, 11:38
by fferri
Hi,
please post some example, including the original URDF file, and why the imported model is not correct, and how it should be.
Thanks
Re: Problem with URDF Importer
Posted: 19 Sep 2021, 21:01
by Erfan
Re: Problem with URDF Importer
Posted: 20 Sep 2021, 07:11
by coppelia
Hello,
your URDF file references external files, that you haven't posted: so many files are missing. You can see this from the error messages, e.g.:
simExtURDF: error: neither mesh file 'E:/staubli_rx160_support/meshes/rx160/visual/base_link.stl' nor 'E:/staubli_rx160_support/meshes/rx160/visual/base_link.stl' do exist.
Cheers
Re: Problem with URDF Importer
Posted: 20 Sep 2021, 09:09
by Erfan
Hello,
Thank you for your message !
The URDF files and supporting files are on:
https://www.dropbox.com/sh/9kinlqg7lnst ... tJt6a?dl=0
https://www.dropbox.com/sh/uuzuber5tb19 ... vl95a?dl=0
Please consider that these files are downloaded from:
https://github.com/ros-industrial/staubli
Thank you in advance,
Erfan
Re: Problem with URDF Importer
Posted: 21 Sep 2021, 08:09
by coppelia
Can you please check that:
- ros is loaded before running CoppeliaSim (i.e. via source /opt/ros/<distroName>/setup.bash)
- that your ROS workspace is correctly set-up
If above is not the case, the package location usually can't be found. Then you can always revert to manually replacing the
package:// string in your URDF file with the absolute path location.
Cheers
Re: Problem with URDF Importer
Posted: 21 Sep 2021, 09:22
by Erfan
Thank you for your help !
The second method works.
regards,
Erfan