Gazebo | Ignition | Community
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 But when I build a launch file and include the world file inside the launch file, I get the following error:

Error [] File or path does not exist[""]
Error [] No mesh specified

Here is the content of the world file (

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

Question Tools

1 follower


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

Seen: 1,574 times

Last updated: Nov 25 '14