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.
A class for serial-in/parallel-out shift registers, like the 74HC595 that are connected to the SPI bu...
constexpr std::enable_if< std::is_floating_point< T >::value, T >::type rad2deg(T r)
Convert radians to degrees.
Struct for Euler angles of floating point numbers.
Type for quaternions of floating point numbers.