#include <CanandgyroData.h>
|
constexpr | Acceleration (const units::standard_gravity_t x, const units::standard_gravity_t y, const units::standard_gravity_t z) |
|
constexpr units::standard_gravity_t | X () const |
|
constexpr units::standard_gravity_t | Y () const |
|
constexpr units::standard_gravity_t | Z () const |
|
Eigen::Vector3d | ToVector3d () |
|
◆ Acceleration()
constexpr redux::sensors::canandgyro::Acceleration::Acceleration |
( |
const units::standard_gravity_t |
x, |
|
|
const units::standard_gravity_t |
y, |
|
|
const units::standard_gravity_t |
z |
|
) |
| |
|
inlineconstexpr |
◆ ToVector3d()
Eigen::Vector3d redux::sensors::canandgyro::Acceleration::ToVector3d |
( |
| ) |
|
|
inline |
Converts to a Eigen Vector3d with X/Y/Z-axis acceleration as the first/second/third element and standard gravities as the unit.
- Returns
- a Vector3d
◆ X()
constexpr units::standard_gravity_t redux::sensors::canandgyro::Acceleration::X |
( |
| ) |
const |
|
inlineconstexpr |
X-axis component
- Returns
- x in accelerational units
◆ Y()
constexpr units::standard_gravity_t redux::sensors::canandgyro::Acceleration::Y |
( |
| ) |
const |
|
inlineconstexpr |
Y-axis component
- Returns
- y in accelerational units
◆ Z()
constexpr units::standard_gravity_t redux::sensors::canandgyro::Acceleration::Z |
( |
| ) |
const |
|
inlineconstexpr |
Z-axis component
- Returns
- z in accelerational units
The documentation for this class was generated from the following file: