#include <CanandgyroData.h>
|
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 () |
|
Angular velocity data class.
◆ 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
-
roll | roll |
pitch | pitch |
yaw | yaw |
◆ 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: