Gazebo | Ignition | Community
Ask Your Question

gazebo starting view pose control

asked 2015-08-28 04:05:42 -0500

osmancns gravatar image

ı want to change gazebo first starting view pose on my model. When gazebo first started, ı want to see my world above.I dont want always change my world view with mouse. how can I change gazebo initial view pose in .world file.

so :

my first view:

BUT: I want to see like this first starting.

what can ı do in my sdf file ?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2015-08-28 10:32:10 -0500

chapulina gravatar image

You can set the user camera pose in the SDF as follows:

<world name="default">
    <camera name="user_camera">
      <pose>0 0 0 0 0 0</pose>

From Gazebo 6, you can find out the current camera pose on the World tab, under GUI. Then you can use that value in your SDF.

On older versions of Gazebo, you can save your world with the desired camera pose and find the pose in the saved SDF.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-08-28 04:05:42 -0500

Seen: 5,309 times

Last updated: Aug 28 '15