ros_gazebo_gym.common

Contains helpful functions and classes that are used in several ros_gazebo_gym environments.

Subpackages

Submodules

Package Contents

Classes

EulerAngles

Used for storing euler angles.

class ros_gazebo_gym.common.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.