I am trying to import urdf from armar · PyPI into isaac sim but there is nothing shown in my UI view and there is lots of error! What is the problem?
2023-10-02 13:41:54 [2,484,106ms] [Warning] [omni.isaac.urdf] Path: package://armar/description/meshes/armar6/collision/middle_neck.stl not found
2023-10-02 13:41:54 [2,484,106ms] [Warning] [omni.isaac.urdf] Failed to resolve mesh ‘package://armar/description/meshes/armar6/collision/middle_neck.stl’
2023-10-02 13:41:54 [2,484,106ms] [Warning] [omni.isaac.urdf] Prim /main/middle_neck/collisions not created
2023-10-02 13:41:54 [2,484,107ms] [Warning] [omni.isaac.urdf] ROS_PACKAGE_PATH not defined, will skip checking ROS packages
2023-10-02 13:41:54 [2,484,107ms] [Warning] [omni.isaac.urdf] Path: package://armar/description/meshes/armar6/visual/upper_neck.obj not found
2023-10-02 13:41:54 [2,484,107ms] [Warning] [omni.isaac.urdf] Failed to resolve mesh ‘package://armar/description/meshes/armar6/visual/upper_neck.obj’
2023-10-02 13:41:54 [2,484,107ms] [Warning] [omni.isaac.urdf] Prim /main/upper_neck/visuals not created
2023-10-02 13:41:54 [2,484,107ms] [Warning] [omni.isaac.urdf] ROS_PACKAGE_PATH not defined, will skip checking ROS packages
2023-10-02 13:41:54 [2,484,107ms] [Warning] [omni.isaac.urdf] Path: package://armar/description/meshes/armar6/collision/upper_neck.stl not found
2023-10-02 13:41:54 [2,484,107ms] [Warning] [omni.isaac.urdf] Failed to resolve mesh ‘package://armar/description/meshes/armar6/collision/upper_neck.stl’
2023-10-02 13:41:54 [2,484,107ms] [Warning] [omni.isaac.urdf] Prim /main/upper_neck/collisions not created
Hi @ahn.paf
Which of the .urdf files are you importing?
I can import armar4.urdf and armar6.urdf without any problem
Hi @ahn.paf
Respect to the [omni.isaac.urdf] Failed to resolve mesh 'package://armar/..., from your image, the urdf path has white spaces. Make sure that the path to your file has no white spaces.
Regarding the shape creation error, the indicated prims have sphere collisions with radius 0 in the urdf file.
<collision>
<origin rpy="0 0 0" xyz="0 0 0"/>
<geometry>
<sphere radius="0.00"/>
</geometry>
</collision>
Set a positive non-zero value for the sphere radius to avoid this error.
Hi @ahn.paf
Please, choose a smaller value according to the robot scale (e.g.: 0.01).
The values should be in meters (if your Isaac Sim configuration is not changed).
Hi @ahn.paf
Also, follow this:
I resolved that issue but the problem with the two spheres persists! You can see my path which has no white space
Is it from my URDF file?
Hi @ahn.paf
I think/guess you are only copying the urdf file and not the whole folder keeping its structures.
Here are the clean step to import the robot.
-
Cone or download the armar-urdf repository to a folder (in a path without white spaces: e.g.
/home/amirhossein/Desktop) -
Edit the
armar4.urdffile (/home/amirhossein/Desktop/armar-urdf/armar/description/urdf/armar4.urdf) an set a (small) positive non-zero value for the sphere collision radius -
Import the
armar4.urdffrom its location (/home/amirhossein/Desktop/armar-urdf/armar/description/urdf/armar4.urdf)Some notes about import (read more about it here: URDF Importer):
- Uncheck Fix Base Link (since the robot is supposed to move in the world)
- Uncheck Create Physics Scene and check Clear Stage for generating a clean .usd file for the robot.





