Gazebo | Ignition | Community
Ask Your Question

World camera: impossible to change its initial position in Gazebo with ROS Fuerte

asked 2012-10-24 03:04:49 -0500

ad34 gravatar image

updated 2012-10-24 06:46:51 -0500


I'm new to Gazebo. I'm using Gazebo 1.0.2 with ROS fuerte on Ubuntu 10.04 LTS.

I am trying to change the initial world camera position in Gazebo but I'm facing the same issue described in this topic :

When I'm launching Gazebo using the command :

$ roslaunch gazebo_test1 test1.launch

I noticed the Warnings :

Warning [] Gazebo SDF has no gazebo element

namespace error : Namespace prefix rendering on gui is not defined '<'rendering:gui'>'

namespace error : Namespace prefix rendering on ogre is not defined '<'rendering:ogre'>'

Warning [] DEPRECATED GAZEBO WORLD FILE On July 1st, 2012, this formate will no longer by supported Convert your files using the gzsdf command line tool You have been warned!

These warnings can explain my issue. It seems that my syntax is quite old but it's the same syntax that the one provided with gazebo examples in ROS.

Do you know where I can find the latest syntax or How I could solve this problem ?

Thanks in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-01-11 19:51:28 -0500

gerkey gravatar image

Gazebo 1.0.x uses SDF 1.0, which is documented

Looks like you need to add a <gui> tag as a child to your <world> tag, e.g.:

      <origin pose="0 0 0 0 0 0"/>
edit flag offensive delete link more


This functionality is not working in Gazebo 1.3, but it working in the default branch and in the upcoming 1.4 release.

nkoenig gravatar imagenkoenig ( 2013-01-11 19:57:49 -0500 )edit

Question Tools


Asked: 2012-10-24 03:04:49 -0500

Seen: 2,902 times

Last updated: Jan 11 '13