Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot Import URDF as described in tutorial #17

Open
angelr31 opened this issue Dec 15, 2021 · 1 comment
Open

Cannot Import URDF as described in tutorial #17

angelr31 opened this issue Dec 15, 2021 · 1 comment

Comments

@angelr31
Copy link

Hello, I am trying to import the ur10 urdf as seen in the tutorial, however each time I import the urdf file I get the following error:
" DirectoryNotFoundException: Could not find a part of the path "/home/angel/ur10/package:/ur_description/meshes/ur10/visual/base.dae" "
Screenshot from 2021-12-15 15-32-59

Is there anything I need to modify to successfully import the urdf?

@micahpearlman
Copy link
Contributor

Apologies, there are a couple of major errors and critical exclusions in this video. We hope to fix this in the near future. In the meantime:

  1. There is an error in the copying the meshes from docker. It should be: docker cp my_zerosim_vnc_docker:/catkin_ws/src/universal_robot/ur_description/meshes .
  2. The URDF mesh file paths need to be fixed up. Best option is to run sed from the command line on the URDF:
# fix the initial paths
sed -i 's#package://ur_description#.#g' ur10.urdf 

# ZeroSim can only load OBJ files so convert DAE extension to OBJ.  
# Remember we did a conversion of the DAE files to OBJ in the Docker image
sed -i 's#.dae#.obj#g' ur10.urdf

Now you should be able to import UR10 into ZeroSim.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants