15 return os <<
"(" << q.
w <<
", " << q.
x <<
", " << q.
y <<
", " << q.
z <<
")";
27 return os <<
"(" << q.
w <<
", " << q.
x <<
", " << q.
y <<
", " << q.
z <<
")";
#define BEGIN_AH_NAMESPACE
Definition of Quaternion and EulerAngles.
constexpr std::enable_if< std::is_floating_point< T >::value, T >::type rad2deg(T r)
Convert radians to degrees.
Print & operator<<(Print &os, Quaternion e)
Printing.
Struct for Euler angles of floating point numbers.
float roll
X": drone X = world +Y.
float pitch
Y': drone Y = world -X.
float yaw
Z : drone Z = world +Z.
Type for quaternions of floating point numbers.
float w
Scalar (real) component.
float y
Second vector (imaginary) component .
float x
First vector (imaginary) component .
float z
Third vector (imaginary) component .