Public Attributes | Related Functions | List of all members
XsEuler Class Reference

Contains Euler Angle data and conversion from Quaternion. More...

#include <xseuler.h>

Public Attributes

union {
   struct {
      XsReal   m_x
 Stores the x component of the euler triplet. More...
 
      XsReal   m_y
 Stores the y component of the euler triplet. More...
 
      XsReal   m_z
 Stores the z component of the euler triplet. More...
 
   } 
 
   struct {
      XsReal   m_pitch
 Stores the pitch component of the euler triplet. More...
 
      XsReal   m_roll
 Stores the roll component of the euler triplet. More...
 
      XsReal   m_yaw
 Stores the yaw component of the euler triplet. More...
 
   } 
 
   XsReal   m_data [3]
 Stores the euler triplet in an array of three elements. More...
 
}; 
 

Related Functions

(Note that these are not member functions.)

void XsEuler_destruct (XsEuler *thisPtr)
 Clears all angles in the XsEuler object by setting them to 0. More...
 
int XsEuler_empty (const XsEuler *thisPtr)
 Returns true if all angles in this object are zero. More...
 
void XsEuler_fromQuaternion (XsEuler *thisPtr, const XsQuaternion *quat)
 Get an euler angle representation of the quaternion. More...
 

Detailed Description

Contains Euler Angle data and conversion from Quaternion.

Euler Angles are computed as a rotation around the x-axis, followed by a rotation around the y-axis, followed by a rotation around the z-axis. In aerospace terms, x,y and z are also often referred to as roll pitch and yaw, so those names are also available as a convenience.

Definition at line 92 of file xseuler.h.

Member Data Documentation

◆ @4

union { ... }

◆ m_data

XsReal XsEuler::m_data[3]

Stores the euler triplet in an array of three elements.

Definition at line 223 of file xseuler.h.

◆ m_pitch

XsReal XsEuler::m_pitch

Stores the pitch component of the euler triplet.

Definition at line 220 of file xseuler.h.

◆ m_roll

XsReal XsEuler::m_roll

Stores the roll component of the euler triplet.

Definition at line 219 of file xseuler.h.

◆ m_x

XsReal XsEuler::m_x

Stores the x component of the euler triplet.

Definition at line 213 of file xseuler.h.

◆ m_y

XsReal XsEuler::m_y

Stores the y component of the euler triplet.

Definition at line 214 of file xseuler.h.

◆ m_yaw

XsReal XsEuler::m_yaw

Stores the yaw component of the euler triplet.

Definition at line 221 of file xseuler.h.

◆ m_z

XsReal XsEuler::m_z

Stores the z component of the euler triplet.

Definition at line 215 of file xseuler.h.


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


xsens_mti_driver
Author(s):
autogenerated on Sun Sep 3 2023 02:43:22