14std::ostream &
operator<<(std::ostream &os, Quaternion q) {
15 return os <<
"(" << q.w <<
", " << q.x <<
", " << q.y <<
", " << q.z <<
")";
18std::ostream &
operator<<(std::ostream &os, EulerAngles e) {
27 return os <<
"(" <<
q.w <<
", " <<
q.x <<
", " <<
q.y <<
", " <<
q.z <<
")";
#define BEGIN_AH_NAMESPACE
Print & operator<<(Print &os, Cable c)
Definition of Quaternion and EulerAngles.
constexpr std::enable_if< std::is_floating_point< T >::value, T >::type rad2deg(T r)
Convert radians to degrees.
An array wrapper for easy copying, comparing, and iterating.
Struct for Euler angles of floating point numbers.
Type for quaternions of floating point numbers.