ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Setting orthographic view in Gazebo world file

asked 2021-06-20 13:19:43 -0600

flood gravatar image

updated 2021-06-21 04:31:34 -0600

gvdhoorn gravatar image

Is it possible to define not only the camera position in the world file, but also if it the view of the camera should be orthographic or perspective? By default it seems to be perspective.

This relates to: https://answers.ros.org/question/1117...

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-06-21 03:14:35 -0600

flood gravatar image

To answer my own question: Yes!

<gui>
  <camera name="user_camera">
    <projection_type>orthographic</projection_type>
    <pose>1.5 -1.25 0 0 1.578 0</pose>
  </camera>
</gui>

For more information: http://sdformat.org/spec?ver=1.8&elem...

edit flag offensive delete link more

Question Tools

Stats

Asked: 2021-06-20 13:19:43 -0600

Seen: 751 times

Last updated: Jun 21 '21