Fang-Robotics-MCB
Fang Robotics Team Codebase
Loading...
Searching...
No Matches
tap::algorithms::transforms::DynamicOrientation Class Reference

#include <dynamic_orientation.hpp>

Public Member Functions

 DynamicOrientation (const float roll, const float pitch, const float yaw, const float rollVel, const float pitchVel, const float yawVel)
 
 DynamicOrientation (Orientation &&orientation, AngularVelocity &&angularVelocity)
 
 DynamicOrientation (Orientation &orientation, AngularVelocity &angularVelocity)
 
 DynamicOrientation (const CMSISMat< 3, 3 > &&orientation, const CMSISMat< 3, 3 > &&angularVelocity)
 
 DynamicOrientation (const CMSISMat< 3, 3 > &orientation, const CMSISMat< 3, 3 > &angularVelocity)
 
DynamicOrientation compose (const DynamicOrientation &other) const
 
DynamicOrientation inverse () const
 
Orientation getOrientation () const
 
AngularVelocity getAngularVelocity () const
 
float roll () const
 
float pitch () const
 
float yaw () const
 
float getRollVelocity () const
 Get the roll velocity.
 
float getPitchVelocity () const
 Get the pitch velocity.
 
float getYawVelocity () const
 Get the yaw velocity.
 

Friends

class Transform
 

Constructor & Destructor Documentation

◆ DynamicOrientation() [1/5]

tap::algorithms::transforms::DynamicOrientation::DynamicOrientation ( const float  roll,
const float  pitch,
const float  yaw,
const float  rollVel,
const float  pitchVel,
const float  yawVel 
)
inline

◆ DynamicOrientation() [2/5]

tap::algorithms::transforms::DynamicOrientation::DynamicOrientation ( Orientation &&  orientation,
AngularVelocity &&  angularVelocity 
)
inline

◆ DynamicOrientation() [3/5]

tap::algorithms::transforms::DynamicOrientation::DynamicOrientation ( Orientation orientation,
AngularVelocity angularVelocity 
)
inline

◆ DynamicOrientation() [4/5]

tap::algorithms::transforms::DynamicOrientation::DynamicOrientation ( const CMSISMat< 3, 3 > &&  orientation,
const CMSISMat< 3, 3 > &&  angularVelocity 
)
inline

◆ DynamicOrientation() [5/5]

tap::algorithms::transforms::DynamicOrientation::DynamicOrientation ( const CMSISMat< 3, 3 > &  orientation,
const CMSISMat< 3, 3 > &  angularVelocity 
)
inline

Member Function Documentation

◆ compose()

DynamicOrientation tap::algorithms::transforms::DynamicOrientation::compose ( const DynamicOrientation other) const
inline

◆ getAngularVelocity()

AngularVelocity tap::algorithms::transforms::DynamicOrientation::getAngularVelocity ( ) const
inline

◆ getOrientation()

Orientation tap::algorithms::transforms::DynamicOrientation::getOrientation ( ) const
inline

◆ getPitchVelocity()

float tap::algorithms::transforms::DynamicOrientation::getPitchVelocity ( ) const
inline

Get the pitch velocity.

◆ getRollVelocity()

float tap::algorithms::transforms::DynamicOrientation::getRollVelocity ( ) const
inline

Get the roll velocity.

◆ getYawVelocity()

float tap::algorithms::transforms::DynamicOrientation::getYawVelocity ( ) const
inline

Get the yaw velocity.

◆ inverse()

DynamicOrientation tap::algorithms::transforms::DynamicOrientation::inverse ( ) const
inline

◆ pitch()

float tap::algorithms::transforms::DynamicOrientation::pitch ( ) const
inline

◆ roll()

float tap::algorithms::transforms::DynamicOrientation::roll ( ) const
inline

Returns roll as values between [-pi, +pi].

If pitch is completely vertical (-pi / 2 or pi / 2) then roll and yaw are gimbal-locked. In this case, roll is taken to be 0.

◆ yaw()

float tap::algorithms::transforms::DynamicOrientation::yaw ( ) const
inline

Friends And Related Symbol Documentation

◆ Transform

friend class Transform
friend

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