ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Problem importing wrl file in a urdf to work with gazebo

asked 2012-08-28 05:58:08 -0600

tommy gravatar image

updated 2014-01-28 17:13:29 -0600

ngrennan gravatar image

We try to import a wrl file in our urdf text..... gazebo spawn the robot, but there is nothing on the GUI. Does anybody know the most probable reason? Thanks in advance for your interest.

edit retag flag offensive close merge delete

Comments

Thanks for the help. We converted the .wrl format to .stl and to .dae too. We changed the "mesh" instruction in the .urdf file and the object was successfully spawned in gazebo, though, for both case, we cannot see anything again on the program's GUI. Thanks again for your help...

tommy gravatar image tommy  ( 2012-08-28 23:28:27 -0600 )edit

If it can be an help on the konsole this lines appear: Warning [parser.cc:332] Gazebo SDF has no gazebo element Warning [parser.cc:271]parse as sdf version 1.0 failed, trying to parse as old deprecated format Warning [parser.cc:277]parse as old deprecated world file failed, trying old model format

tommy gravatar image tommy  ( 2012-08-29 22:04:35 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-08-28 06:42:35 -0600

hsu gravatar image

Gazebo currently supports .STL and .DAE mesh formats (see for example, the COLLADA mesh loader and STL mesh loader in source tree. If you have recommendations for additional mesh format support, please file a feature request ticket / patch.

Alternatively, you can use mesh utilities such as ivcon to convert your WRL meshes to STL/DAE first.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2012-08-28 05:58:08 -0600

Seen: 594 times

Last updated: Aug 28 '12