Skip to content

frame_conventions

Carlos Agüero edited this page Mar 4, 2022 · 8 revisions

World frame

Gazebo's simulation is always performed in Cartesian coordinates (good old XYZ). You can visualize the Gazebo origin by selecting View->Origin in the GUI menu.

world_frame

Additionally, Gazebo supports the use of real world latitude and longitude coordinates in its simulations using the WGS84 geodetic system. The world's Cartesian coordinates correspond to a local tangent plane at a given point on the planetary surface. By default, this plane follows the ENU (East-North-Up) convention, as shown on the image below:

spherical_coordinates

Model frame

Gazebo follows the right-hand rule. The robot front facing surface is in the positive x direction, left facing being in the positive y direction, top facing being in the positive z direction and so forth.

model_frame_sm

The next diagram shows the transformation of the model when applying positive roll, pitch and yaw respectively.

roll_pitch_yaw

Clone this wiki locally