Gazebo | Ignition | Community
Ask Your Question

uri file attribute in SDF files

asked 2012-11-09 06:07:32 -0500

logicalguy gravatar image

If the file path is relative, which is the base directory and how can we specify it?


edit retag flag offensive close merge delete


I think its the directory of the world file, are you also getting directory not found error?

Erik Stoltenborg gravatar imageErik Stoltenborg ( 2012-11-09 09:51:56 -0500 )edit

Hi, I am getting an error that says "Image filename is empty"

logicalguy gravatar imagelogicalguy ( 2012-11-12 05:40:42 -0500 )edit

I believe this is an error that you can ignore, and has been removed in the default branch. Are you experiencing any related problems?

nkoenig gravatar imagenkoenig ( 2012-11-14 10:21:52 -0500 )edit

when I specify a png heightmap, it doesn't load the heightmap, instead a large 2d black rectangle where the heightmap should be. The Pioneer robot is next to this space on the ground. I have attached a screenshot of gazebo, my heightmap mage, and the world file at

logicalguy gravatar imagelogicalguy ( 2012-11-16 05:36:54 -0500 )edit

oh, and I am using gazebo-1.2.5

logicalguy gravatar imagelogicalguy ( 2012-11-16 05:41:50 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-01-11 19:13:34 -0500

nkoenig gravatar image

updated 2013-07-23 16:53:10 -0500

Base paths for relative URIs are specified in environment variables. For example GAZEBO_RESOURCE_PATH.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2012-11-09 06:07:32 -0500

Seen: 1,870 times

Last updated: Jul 23 '13