Home | Tutorials | Wiki | Issues
Ask Your Question
1

Import custom .dae file in gazebo from the world file, error of path does not exist

asked 2013-07-01 16:35:21 -0500

SalmaanAhmed gravatar image

I am new to gazebo and following the tutorial from the official website. But i am stuck at Test The Mesh heading. I made the grass.world file and pasted the code given in tutorial.

And i also copied the duck.dae file along with the duck.png file in the same directory of the world files.

But when i run

gazebo /usr/share/gazebo-1.8/worlds/grass.world

It opens empty world and not shows any duck

(gazebo:5903): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

Error [SystemPaths.cc:370] File or path does not exist[""]

Error [Visual.cc:2069] No mesh specified

I dont know where i am going wrong, just following the tutoral.

Thanks in advance :)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-07-01 17:51:17 -0500

nkoenig gravatar image

It should work if you run gazebo from within the /usr/share/gazebo-1.8/worlds folder.

The issue is that grass.world is referring a the my_mesh.dae resource, but Gazebo can't find that resource. You could also specify a complete file URI for the mesh:

<mesh><uri>file:///usr/share/gazebo-1.8/worlds/my_mesh.dae</uri></mesh>

edit flag offensive delete link more

Comments

Thankyou so very much :) While trying i also used full path but using 2 forward-slashes only... Here you had 3 so when i tried this way... It showed me the duck :) Thanks again :)

SalmaanAhmed gravatar imageSalmaanAhmed ( 2013-07-02 08:35:11 -0500 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2013-07-01 16:35:21 -0500

Seen: 2,299 times

Last updated: Jul 01 '13