Class RollPitchYaw

Inheritance Relationships

Base Type

Class Documentation

class RollPitchYaw : public lupnt::State

Public Functions

inline RollPitchYaw(const Vec3 &x = Vec3::Zero())

Construct a RollPitchYaw attitude state from a stacked 3-element Euler-angle vector. Used as an alternative attitude representation to Attitude’s quaternion for reporting/conversion.

Parameters:

x – [roll, pitch, yaw], all in [rad].

inline Real &roll()

Mutable reference to the roll angle.

Returns:

Roll [rad].

inline Real &pitch()

Mutable reference to the pitch angle.

Returns:

Pitch [rad].

inline Real &yaw()

Mutable reference to the yaw angle.

Returns:

Yaw [rad].

inline Real roll() const

Roll angle.

Returns:

Roll [rad].

inline Real pitch() const

Pitch angle.

Returns:

Pitch [rad].

inline Real yaw() const

Yaw angle.

Returns:

Yaw [rad].

Public Static Attributes

static StateType TYPE = "RollPitchYaw"