leggedrobotics / legged_gym

Isaac Gym Environments for Legged Robots
Other
1.12k stars 332 forks source link

[Error] [carb.gym.plugin] Failed to parse URDF file #18

Open noshaba opened 2 years ago

noshaba commented 2 years ago

The provided URDF files cannot be parsed. I am using Isaac Gym Preview 3 (version 1.0rc3) if that helps. For all models it says it cannot parse the provided color string.

System:

nikitardn commented 2 years ago

Can you check that you are using Isaac Gym preview 3 and not preview 2? Our URDFs have an additional tag that is only supported by preview 3.

RyanPaulMcKenna commented 5 months ago

I trying to use different mesh files so I need to understand what the actual error means, re-cloning is not an option for since I am creating my own setup. Does any one know what these errors mean?

[Error] [carb.gym.plugin] Failed to resolve collision mesh 'package://ur5_rg2_ign/meshes/collision/ur5/base.stl' [Error] [carb.gym.plugin] Failed to resolve visual mesh 'package://ur5_rg2_ign/meshes/visual/ur5/base.dae' [Error] [carb.gym.plugin] Failed to resolve collision mesh 'package://ur5_rg2_ign/meshes/collision/ur5/shoulder.stl' [Error] [carb.gym.plugin] Failed to resolve visual mesh 'package://ur5_rg2_ign/meshes/visual/ur5/shoulder.dae' [Error] [carb.gym.plugin] Failed to resolve collision mesh 'package://ur5_rg2_ign/meshes/collision/ur5/upperarm.stl' [Error] [carb.gym.plugin] Failed to resolve visual mesh 'package://ur5_rg2_ign/meshes/visual/ur5/upperarm.dae' [Error] [carb.gym.plugin] Failed to resolve collision mesh 'package://ur5_rg2_ign/meshes/collision/ur5/forearm.stl' [Error] [carb.gym.plugin] Failed to resolve visual mesh 'package://ur5_rg2_ign/meshes/visual/ur5/forearm.dae' [Error] [carb.gym.plugin] Failed to resolve collision mesh 'package://ur5_rg2_ign/meshes/collision/ur5/wrist1.stl'

Winfred-6 commented 4 months ago

I have same problem as yours, failed to resolve mesh, do you find out how to fix this?

des-zhong commented 4 months ago

@RyanPaulMcKenna I've ran into this too. I changed the dae file to a absolute path like this: mesh filename="/home/.../ur5_rg2_ign/meshes/visual/ur5/forearm.dae and this error is gone

laukik29 commented 4 months ago

@RyanPaulMcKenna I've ran into this too. I changed the dae file to a absolute path like this: mesh filename="/home/.../ur5_rg2_ign/meshes/visual/ur5/forearm.dae and this error is gone

Hi can you elaborate what change did you do exactly, i am facing the same issue

des-zhong commented 4 months ago

@RyanPaulMcKenna I've ran into this too. I changed the dae file to a absolute path like this: mesh filename="/home/.../ur5_rg2_ign/meshes/visual/ur5/forearm.dae and this error is gone

Hi can you elaborate what change did you do exactly, i am facing the same issue

Say your urdf and mesh file are like this: robot/  |-meshes/    |-forearm.dae  |-urdf/    |-ur5_rg2_ign.urdf change the line in ur5_rg2_ign.urdf <mesh filename="package://ur5_rg2_ign/meshes/visual/forearm.dae"/> to <mesh filename="../meshes/visual/forearm.dae"/>