ReduxLib C++ 2024.3.2
Loading...
Searching...
No Matches
redux::sensors::canandgyro::AngularVelocity Class Reference

#include <CanandgyroData.h>

Public Member Functions

constexpr AngularVelocity (const units::turns_per_second_t roll, const units::turns_per_second_t pitch, const units::turns_per_second_t yaw)
 
constexpr units::turns_per_second_t Roll () const
 
constexpr units::turns_per_second_t Pitch () const
 
constexpr units::turns_per_second_t Yaw () const
 
Eigen::Vector3d ToVector3d ()
 

Detailed Description

Angular velocity data class.

Constructor & Destructor Documentation

◆ AngularVelocity()

constexpr redux::sensors::canandgyro::AngularVelocity::AngularVelocity ( const units::turns_per_second_t  roll,
const units::turns_per_second_t  pitch,
const units::turns_per_second_t  yaw 
)
inlineconstexpr

constructor

Parameters
rollroll
pitchpitch
yawyaw

Member Function Documentation

◆ Pitch()

constexpr units::turns_per_second_t redux::sensors::canandgyro::AngularVelocity::Pitch ( ) const
inlineconstexpr

Pitch velocity.

Returns
pitch velocity in angular velocity units

◆ Roll()

constexpr units::turns_per_second_t redux::sensors::canandgyro::AngularVelocity::Roll ( ) const
inlineconstexpr

Roll velocity.

Returns
roll velocity in angular velocity units

◆ ToVector3d()

Eigen::Vector3d redux::sensors::canandgyro::AngularVelocity::ToVector3d ( )
inline

Converts to a Eigen::Vector3d with roll/pitch/yaw velocity as the first/second/third element and the units in radians/second.

Returns
Vector3d

◆ Yaw()

constexpr units::turns_per_second_t redux::sensors::canandgyro::AngularVelocity::Yaw ( ) const
inlineconstexpr

Yaw velocity.

Returns
yaw velocity in angular velocity units

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