FOUND
|
An EulerAngle is a mutable Object representing Euler Angles of a 3D point. More...
#include <attitude-utils.hpp>
Public Member Functions | |
constexpr | EulerAngles (decimal ra=DECIMAL(0.0), decimal de=DECIMAL(0.0), decimal roll=DECIMAL(0.0)) |
Initializes an EulerAngles with corresponding parameters. | |
Public Attributes | |
decimal | ra |
Right ascension. How far we yaw left. Yaw is performed first. | |
decimal | de |
Declination. How far we pitch up (or down if negative). Pitch is performed second, after yaw. | |
decimal | roll |
How far we roll counterclockwise. Roll is performed last (after yaw and pitch). | |
An EulerAngle is a mutable Object representing Euler Angles of a 3D point.
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.
|
inlineconstexpr |
Initializes an EulerAngles with corresponding parameters.
ra | The Right Ascension of the Euler Angle |
de | The Declination of the Euler Angle |
roll | The roll of the Euler Angle |
decimal found::EulerAngles::de |
Declination. How far we pitch up (or down if negative). Pitch is performed second, after yaw.
decimal found::EulerAngles::ra |
Right ascension. How far we yaw left. Yaw is performed first.
decimal found::EulerAngles::roll |
How far we roll counterclockwise. Roll is performed last (after yaw and pitch).