ros_gazebo_gym.common.euler_angles

Contains a class used for storing euler angles.

Note

Uses the ypr (x-y-z) euler angle convention.

Module Contents

Classes

EulerAngles

Used for storing euler angles.

class ros_gazebo_gym.common.euler_angles.EulerAngles(y=0.0, p=0.0, r=0.0)[source]

Bases: object

Used for storing euler angles.

y

Yaw angle (z). Defaults to 0.0.

Type:

float

p

Pitch angle (p). Defaults to 0.0.

Type:

float

r

Roll angle (r). Defaults to 0.0.

Type:

float

Initializes the EulerAngles object.

Parameters:
  • y (float, optional) – Yaw angle (z). Defaults to 0.0.

  • p (float, optional) – Pitch angle (p). Defaults to 0.0.

  • r (float, optional) – Roll angle (r). Defaults to 0.0.