LOST  0.0.1
LOST: Open-source Star Tracker
lost::EulerAngles Class Reference

A "human-readable" way to represent a 3d rotation or orientation. More...

#include <attitude-utils.hpp>

Public Member Functions

 EulerAngles (decimal ra, decimal de, decimal roll)
 

Public Attributes

decimal ra
 Right ascension. How far we yaw left. Yaw is performed first. More...
 
decimal de
 Declination. How far we pitch up (or down if negative). Pitch is performed second, after yaw. More...
 
decimal roll
 How far we roll counterclockwise. Roll is performed last (after yaw and pitch). More...
 

Detailed Description

A "human-readable" way to represent a 3d rotation or orientation.

Euler angles roughly correspond to yaw, pitch, and roll of an airplane, which are easy for humans to understand. There's no one single way to store Euler angles. We use z-y'-x'' angles, according to the notation used on the wikipedia page for euler angles.

Definition at line 84 of file attitude-utils.hpp.

Constructor & Destructor Documentation

◆ EulerAngles()

lost::EulerAngles::EulerAngles ( decimal  ra,
decimal  de,
decimal  roll 
)
inline

Definition at line 86 of file attitude-utils.hpp.

Member Data Documentation

◆ de

decimal lost::EulerAngles::de

Declination. How far we pitch up (or down if negative). Pitch is performed second, after yaw.

Definition at line 92 of file attitude-utils.hpp.

◆ ra

decimal lost::EulerAngles::ra

Right ascension. How far we yaw left. Yaw is performed first.

Definition at line 90 of file attitude-utils.hpp.

◆ roll

decimal lost::EulerAngles::roll

How far we roll counterclockwise. Roll is performed last (after yaw and pitch).

Definition at line 94 of file attitude-utils.hpp.


The documentation for this class was generated from the following file: