V-REP fails to load certain URDF and SDF files
Posted: 28 May 2017, 22:20
I tried to load the urdf and sdf files provided for bullet3 example data:
https://github.com/bulletphysics/bullet ... /kuka_iiwa
When I try to load kuka_with_gripper.sdf I get the following error:
In model.urdf vrep seems to choke on the relative paths to the meshes:
According to the SDF definition, gravity is optional:
http://sdformat.org/spec?ver=1.6&elem=link#link_gravity
Also, I tried putting the stl mesh files in the exact same folder as the urdf (rather than in the meshes folder) on the assumption that there was a and the files were still not found.
In case this is the fault of the models themselves, I created a corresponding issue in the bullet3 github repo:
https://github.com/bulletphysics/bullet3/issues/1156
https://github.com/bulletphysics/bullet ... /kuka_iiwa
When I try to load kuka_with_gripper.sdf I get the following error:
Code: Select all
<sdf>: <world>: sub element gravity not found
In model.urdf vrep seems to choke on the relative paths to the meshes:
Code: Select all
URDF import operation started.
There are 7 joints.
ERROR: there is no joint with name ''
There are 8 links.
Creating link 'lbr_iiwa_link_0'...
ERROR: neither mesh file 'meshes/link_0.stl' nor '' do exist.
ERROR: neither mesh file 'meshes/link_0.stl' nor '' do exist.
ERROR: neither mesh file 'meshes/link_0.stl' nor '' do exist.
ERROR: failed to create the mesh 'meshes/link_0.stl' or '' with extension type 4
ERROR: there is no joint with name ''
Creating link 'lbr_iiwa_link_1'...
ERROR: neither mesh file 'meshes/link_1.stl' nor '' do exist.
ERROR: neither mesh file 'meshes/link_1.stl' nor '' do exist.
ERROR: neither mesh file 'meshes/link_1.stl' nor '' do exist.
ERROR: failed to create the mesh 'meshes/link_1.stl' or '' with extension type 4
Creating link 'lbr_iiwa_link_2'...
ERROR: neither mesh file 'meshes/link_2.stl' nor '' do exist.
ERROR: neither mesh file 'meshes/link_2.stl' nor '' do exist.
ERROR: neither mesh file 'meshes/link_2.stl' nor '' do exist.
ERROR: failed to create the mesh 'meshes/link_2.stl' or '' with extension type 4
Creating link 'lbr_iiwa_link_3'...
ERROR: neither mesh file 'meshes/link_3.stl' nor '' do exist.
ERROR: neither mesh file 'meshes/link_3.stl' nor '' do exist.
ERROR: neither mesh file 'meshes/link_3.stl' nor '' do exist.
ERROR: failed to create the mesh 'meshes/link_3.stl' or '' with extension type 4
Creating link 'lbr_iiwa_link_4'...
ERROR: neither mesh file 'meshes/link_4.stl' nor '' do exist.
ERROR: neither mesh file 'meshes/link_4.stl' nor '' do exist.
ERROR: neither mesh file 'meshes/link_4.stl' nor '' do exist.
ERROR: failed to create the mesh 'meshes/link_4.stl' or '' with extension type 4
Creating link 'lbr_iiwa_link_5'...
ERROR: neither mesh file 'meshes/link_5.stl' nor '' do exist.
ERROR: neither mesh file 'meshes/link_5.stl' nor '' do exist.
ERROR: neither mesh file 'meshes/link_5.stl' nor '' do exist.
ERROR: failed to create the mesh 'meshes/link_5.stl' or '' with extension type 4
Creating link 'lbr_iiwa_link_6'...
ERROR: neither mesh file 'meshes/link_6.stl' nor '' do exist.
ERROR: neither mesh file 'meshes/link_6.stl' nor '' do exist.
ERROR: neither mesh file 'meshes/link_6.stl' nor '' do exist.
ERROR: failed to create the mesh 'meshes/link_6.stl' or '' with extension type 4
Creating link 'lbr_iiwa_link_7'...
ERROR: neither mesh file 'meshes/link_7.stl' nor '' do exist.
ERROR: neither mesh file 'meshes/link_7.stl' nor '' do exist.
ERROR: neither mesh file 'meshes/link_7.stl' nor '' do exist.
ERROR: failed to create the mesh 'meshes/link_7.stl' or '' with extension type 4
There are 0 sensors.
URDF import operation finished.
http://sdformat.org/spec?ver=1.6&elem=link#link_gravity
Also, I tried putting the stl mesh files in the exact same folder as the urdf (rather than in the meshes folder) on the assumption that there was a and the files were still not found.
In case this is the fault of the models themselves, I created a corresponding issue in the bullet3 github repo:
https://github.com/bulletphysics/bullet3/issues/1156