Home | Tutorials | Wiki | Issues
Ask Your Question

load custom world in gazebo from a launch file

asked 2014-11-21 11:52:51 -0500

Kasra gravatar image

Hello everyone,

I've built a custom wold for gazebo (dae file) and I'm trying to load this file from a launch file. When I run the world file directly from gazebo, it woks and I can see the world (gazebo maze.world). But when I build a launch file and include the world file inside the launch file, I get the following error:

Error [SystemPaths.cc:367] File or path does not exist[""]
Error [Visual.cc:2138] No mesh specified

Here is the content of the world file (maze.world):

image description

and here is the launch file(maze.launch):

image description

both launch file and world file are in the same directory and I've set the GAZEBOMODELPATH to that directory. Can someone tell me what's the problem here? I'm using Ubuntu 14.04, Indigo, and gazebo_ros.


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-11-25 01:26:52 -0500

scpeters gravatar image

I think the problem may be related to how the mesh file location is specified:


I would recommend following an example from gazebo_models, such as the cordless drill:


edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2014-11-21 11:52:51 -0500

Seen: 884 times

Last updated: Nov 25 '14