#include <R3Arma.h>
Public Member Functions | |
IMU3DArma () | |
Default constructor. | |
IMU3DArma (const Decimal &accX, const Decimal &accY, const Decimal &accZ, const Decimal &velAngX, const Decimal &velAngY, const Decimal &velAngZ) | |
Complete constructor. | |
IMU3DArma (const Decimal &accX, const Decimal &accY, const Decimal &accZ, const Velocity3DArma &angVel) | |
Complete constructor. | |
IMU3DArma (const Acceleration3DArma &acc, const Decimal &velAngX, const Decimal &velAngY, const Decimal &velAngZ) | |
Complete constructor. | |
IMU3DArma (const Acceleration3DArma &acc, const Velocity3DArma &angVel) | |
Complete constructor. | |
IMU3DArma & | operator= (const IMU3DArma &rhs) |
Assignment operator. | |
IMU3DArma & | operator= (const arma::Mat< Decimal > &rhs) |
Assignment operator. | |
IMU3DArma & | operator+= (const IMU3DArma &pos) |
Compound assignment operator product by a another IMU3DArma pos +=. | |
IMU3DArma & | operator+= (const Decimal &scalar) |
Compound assignment operator sum by a scalar +. | |
IMU3DArma | operator- (IMU3DArma &other) const |
Binary arithmetic operator element-wise IMU3DArma. | |
IMU3DArma & | operator-= (const IMU3DArma &pos) |
Compound assignment operator product by a another IMU3DArma pos -=. | |
IMU3DArma & | operator-= (const Decimal &scalar) |
Compound assignment operator sum by a scalar +. | |
IMU3DArma | operator+ (IMU3DArma &other) const |
Binary arithmetic operator element-wise IMU3DArma. | |
IMU3DArma & | operator*= (const IMU3DArma &pos) |
Compound assignment operator product by a another IMU3DArma pos *=. | |
IMU3DArma & | operator*= (const Decimal &scalar) |
Compound assignment operator product by a scalar *. | |
IMU3DArma | operator* (IMU3DArma &other) const |
Binary arithmetic operator element-wise scalar. | |
IMU3DArma & | operator/= (const IMU3DArma &pos) |
Compound assignment operator product by a another Position3DArma pos *=. | |
IMU3DArma & | operator/= (const Decimal &scalar) |
Compound assignment operator product by a scalar *. | |
IMU3DArma | operator/ (IMU3DArma &other) const |
Binary arithmetic operator element-wise scalar. | |
bool | operator== (const IMU3DArma &other) const |
Operator ==. | |
Decimal | getAccX () const |
Get the current acceleration along x. | |
Decimal | getAccY () const |
Get the current acceleration along y. | |
Decimal | getAccZ () const |
Get the current acceleration along z. | |
Acceleration3DArma | getAcceleration () const |
Get the current acceleration. | |
Decimal | getAngVelX () const |
Get the current angular velocity along x. | |
Decimal | getAngVelY () const |
Get the current angular velocity along y. | |
Decimal | getAngVelZ () const |
Get the current angular velocity along z. | |
Velocity3DArma | getAngularVelocity () const |
Get the current angular velocity. | |
void | setAccX (const Decimal &x) |
Set the acceleration along x axis. | |
void | setAccY (const Decimal &y) |
Set the acceleration along x axis. | |
void | setAccZ (const Decimal &z) |
Set the acceleration along x axis. | |
void | setAcceleration (const Acceleration3DArma &acc) |
Set the acceleration along x axis. | |
void | setAngVelX (const Decimal &x) |
Set the angular velocity along x axis. | |
void | setAngVelY (const Decimal &y) |
Set the angular velocity along y axis. | |
void | setAngVelZ (const Decimal &z) |
Set the angular velocity along z axis. | |
void | setAngularVelocity (const Velocity3DArma &angVel) |
Set the angular velocity. | |
IMU3DArma & | matrixProd (const arma::Mat< Decimal >::fixed< 3, 3 > &in) |
Product by a matrix. | |
IMU3DArma & | matrixProd (const Roto3DArma &in) |
Product by a matrix. | |
IMU3DArma & | matrixProdAcc (const arma::Mat< Decimal >::fixed< 3, 3 > &in) |
Product by a matrix only the acceleration component. | |
IMU3DArma & | matrixProdAngVel (const arma::Mat< Decimal >::fixed< 3, 3 > &in) |
Product by a matrix only the angular velocity component. | |
IMU3DArma & | matrixProdAcc (const Roto3DArma &in) |
Product by a matrix only the acceleration component. | |
IMU3DArma & | matrixProdAngVel (const Roto3DArma &in) |
Product by a matrix only the angular velocity component. | |
string | print () |
Print function. |
IMU3DArma::IMU3DArma | ( | ) |
Default constructor.
IMU3DArma::IMU3DArma | ( | const Decimal & | accX, | |
const Decimal & | accY, | |||
const Decimal & | accZ, | |||
const Decimal & | velAngX, | |||
const Decimal & | velAngY, | |||
const Decimal & | velAngZ | |||
) |
Complete constructor.
IMU3DArma::IMU3DArma | ( | const Decimal & | accX, | |
const Decimal & | accY, | |||
const Decimal & | accZ, | |||
const Velocity3DArma & | angVel | |||
) |
Complete constructor.
IMU3DArma::IMU3DArma | ( | const Acceleration3DArma & | acc, | |
const Decimal & | velAngX, | |||
const Decimal & | velAngY, | |||
const Decimal & | velAngZ | |||
) |
Complete constructor.
IMU3DArma::IMU3DArma | ( | const Acceleration3DArma & | acc, | |
const Velocity3DArma & | angVel | |||
) |
Complete constructor.
Compound assignment operator product by a another IMU3DArma pos +=.
Compound assignment operator sum by a scalar +.
Binary arithmetic operator element-wise IMU3DArma.
Compound assignment operator product by a another IMU3DArma pos -=.
Compound assignment operator sum by a scalar +.
Binary arithmetic operator element-wise IMU3DArma.
Compound assignment operator product by a another IMU3DArma pos *=.
Compound assignment operator product by a scalar *.
Binary arithmetic operator element-wise scalar.
Compound assignment operator product by a another Position3DArma pos *=.
Compound assignment operator product by a scalar *.
Binary arithmetic operator element-wise scalar.
bool IMU3DArma::operator== | ( | const IMU3DArma & | other | ) | const |
Operator ==.
Decimal IMU3DArma::getAccX | ( | ) | const |
Get the current acceleration along x.
Decimal IMU3DArma::getAccY | ( | ) | const |
Get the current acceleration along y.
Decimal IMU3DArma::getAccZ | ( | ) | const |
Get the current acceleration along z.
Acceleration3DArma IMU3DArma::getAcceleration | ( | ) | const |
Get the current acceleration.
Decimal IMU3DArma::getAngVelX | ( | ) | const |
Get the current angular velocity along x.
Decimal IMU3DArma::getAngVelY | ( | ) | const |
Get the current angular velocity along y.
Decimal IMU3DArma::getAngVelZ | ( | ) | const |
Get the current angular velocity along z.
Velocity3DArma IMU3DArma::getAngularVelocity | ( | ) | const |
Get the current angular velocity.
void IMU3DArma::setAccX | ( | const Decimal & | x | ) |
Set the acceleration along x axis.
[in] | &x | Acceleration to be set |
void IMU3DArma::setAccY | ( | const Decimal & | y | ) |
Set the acceleration along x axis.
[in] | &x | Acceleration to be set |
void IMU3DArma::setAccZ | ( | const Decimal & | z | ) |
Set the acceleration along x axis.
[in] | &x | Acceleration to be set |
void IMU3DArma::setAcceleration | ( | const Acceleration3DArma & | acc | ) |
Set the acceleration along x axis.
[in] | &x | Acceleration to be set |
void IMU3DArma::setAngVelX | ( | const Decimal & | x | ) |
Set the angular velocity along x axis.
[in] | &x | Angular velocity to be set |
void IMU3DArma::setAngVelY | ( | const Decimal & | y | ) |
Set the angular velocity along y axis.
[in] | &y | Angular velocity to be set |
void IMU3DArma::setAngVelZ | ( | const Decimal & | z | ) |
Set the angular velocity along z axis.
[in] | &z | Angular velocity to be set |
void IMU3DArma::setAngularVelocity | ( | const Velocity3DArma & | angVel | ) |
Set the angular velocity.
[in] | &y | Angular velocity to be set |
Product by a matrix.
[in] | &in Matrix 3x3 |
IMU3DArma & IMU3DArma::matrixProd | ( | const Roto3DArma & | in | ) |
Product by a matrix.
[in] | &in Matrix 3x3 |
Product by a matrix only the acceleration component.
[in] | &in Matrix 3x3 |
Product by a matrix only the angular velocity component.
[in] | &in Matrix 3x3 |
IMU3DArma & IMU3DArma::matrixProdAcc | ( | const Roto3DArma & | in | ) |
Product by a matrix only the acceleration component.
[in] | &in Matrix 3x3 |
IMU3DArma & IMU3DArma::matrixProdAngVel | ( | const Roto3DArma & | in | ) |
Product by a matrix only the angular velocity component.
[in] | &in Matrix 3x3 |
string IMU3DArma::print | ( | ) |
Print function.