🪜Coordinate System

The coordinate system of ROAR_PY follows a right-hand, Z-up system. All rotations follow the right hand rule and the rotation order is XYZ.

The standard units in ROAR_PY are meters(m) and radians(rad).

Very typical representations of coordinate system data are locations np.ndarray with size (3,) with each index representing x,y,z in meters and rotations np.ndarray with size (3,) and each index representing rotation in x,y,z (roll, pitch, yaw) in radians.

We do not impose restrictions on the world coordinate's x and y axis but every implementation of ROAR_PY should have world coordinate's z axis in the direction of the gravity.

However, we ask that any implementation of ROAR_PY should have local coordinates (of any ROAR_PY actor) that has the following property:

  1. The x-axis should point in the forward direction of the actor

  2. The y-axis should point in the left direction of the actor

  3. The z-axis should point in the upward direction of the actor

Below are a few examples of local coordinate systems in ROAR_PY

The Boston Dynamics Spot SDK coordinate system uses the same coordinate system as ROAR_PY (Credit: Boston Dynamics website)

Last updated