#include <R2Arma.h>
Public Member Functions | |
Odometry2DTimeArma () | |
Default constructor. | |
Odometry2DTimeArma (const Decimal &xVel, const Decimal &yVel, const Decimal &zOmega, const Time &time) | |
Complete constructor. | |
Odometry2DTimeArma (const Position2DArma &A, const Decimal &zOmega, const Time &time) | |
Complete constructor. | |
Odometry2DTimeArma (const Odometry2DArma &A, const Time &time) | |
Copy constructor. | |
Odometry2DTimeArma (const Decimal &xVel, const Decimal &yVel, const Decimal &zOmega, const long int &sec, const long int &usec) | |
Complete constructor. | |
Odometry2DTimeArma (const Position2DArma &A, const Decimal &zOmega, const long int &sec, const long int &usec) | |
Complete constructor. | |
Odometry2DTimeArma (const Odometry2DArma &A, const long int &sec, const long int &usec) | |
Copy constructor. | |
Odometry2DTimeArma (const Decimal &xVel, const Decimal &yVel, const Decimal &zOmega, const Decimal &time) | |
Complete constructor. | |
Odometry2DTimeArma (const Position2DArma &A, const Decimal &zOmega, const Decimal &time) | |
Complete constructor. | |
Odometry2DTimeArma (const Odometry2DArma &A, const Decimal &time) | |
Copy constructor. | |
Odometry2DTimeArma & | operator= (const Odometry2DTimeArma &rhs) |
Assignment operator. | |
Odometry2DArma | getOdo () const |
Get the position. | |
Time | getTime () const |
Get the time. | |
Decimal | getTimeDCast () |
Get the time. | |
Decimal | getOdoVelX () const |
Get the linear velocity along x. | |
Decimal | getOdoVelY () const |
Get the linear velocity along y. | |
Decimal | getOdoOmegaZ () const |
Get the angular velocity along z. | |
Velocity2DArma | getOdoVelocity () const |
Get the angular velocity. | |
void | setOdometry (const Odometry2DArma &odo) |
Set the odometry. | |
void | setTime (const Time &time) |
Set the time. | |
void | setTime (const Decimal time) |
Set the time. | |
void | setTime (const long int &sec, const long int &usec) |
Set the time. | |
void | setOdoVelX (const Decimal &xVel) |
Set the linear velocity along x. | |
void | setOdoVelY (const Decimal &yVel) |
Set the linear velocity along y. | |
void | setOdoVelocity (const Velocity2DArma &vel) |
Set the linear velocity. | |
void | setOdoOmegaZ (const Decimal &zOmega) |
Set the angular velocity along z. | |
string | print () |
Print function. |
Odometry2DTimeArma::Odometry2DTimeArma | ( | ) |
Default constructor.
Odometry2DTimeArma::Odometry2DTimeArma | ( | const Decimal & | xVel, | |
const Decimal & | yVel, | |||
const Decimal & | zOmega, | |||
const Time & | time | |||
) |
Complete constructor.
Odometry2DTimeArma::Odometry2DTimeArma | ( | const Position2DArma & | A, | |
const Decimal & | zOmega, | |||
const Time & | time | |||
) |
Complete constructor.
Odometry2DTimeArma::Odometry2DTimeArma | ( | const Odometry2DArma & | A, | |
const Time & | time | |||
) |
Copy constructor.
Odometry2DTimeArma::Odometry2DTimeArma | ( | const Decimal & | xVel, | |
const Decimal & | yVel, | |||
const Decimal & | zOmega, | |||
const long int & | sec, | |||
const long int & | usec | |||
) |
Complete constructor.
Odometry2DTimeArma::Odometry2DTimeArma | ( | const Position2DArma & | A, | |
const Decimal & | zOmega, | |||
const long int & | sec, | |||
const long int & | usec | |||
) |
Complete constructor.
Odometry2DTimeArma::Odometry2DTimeArma | ( | const Odometry2DArma & | A, | |
const long int & | sec, | |||
const long int & | usec | |||
) |
Copy constructor.
Odometry2DTimeArma::Odometry2DTimeArma | ( | const Decimal & | xVel, | |
const Decimal & | yVel, | |||
const Decimal & | zOmega, | |||
const Decimal & | time | |||
) |
Complete constructor.
Odometry2DTimeArma::Odometry2DTimeArma | ( | const Position2DArma & | A, | |
const Decimal & | zOmega, | |||
const Decimal & | time | |||
) |
Complete constructor.
Odometry2DTimeArma::Odometry2DTimeArma | ( | const Odometry2DArma & | A, | |
const Decimal & | time | |||
) |
Copy constructor.
Odometry2DTimeArma & Odometry2DTimeArma::operator= | ( | const Odometry2DTimeArma & | rhs | ) |
Assignment operator.
Odometry2DArma Odometry2DTimeArma::getOdo | ( | ) | const |
Decimal Odometry2DTimeArma::getOdoVelX | ( | ) | const |
Get the linear velocity along x.
Decimal Odometry2DTimeArma::getOdoVelY | ( | ) | const |
Get the linear velocity along y.
Decimal Odometry2DTimeArma::getOdoOmegaZ | ( | ) | const |
Get the angular velocity along z.
Velocity2DArma Odometry2DTimeArma::getOdoVelocity | ( | ) | const |
Get the angular velocity.
void Odometry2DTimeArma::setOdometry | ( | const Odometry2DArma & | odo | ) |
void Odometry2DTimeArma::setTime | ( | const long int & | sec, | |
const long int & | usec | |||
) |
void Odometry2DTimeArma::setOdoVelX | ( | const Decimal & | xVel | ) |
Set the linear velocity along x.
[in] | xVel | Linear velocity along x to be set |
void Odometry2DTimeArma::setOdoVelY | ( | const Decimal & | yVel | ) |
Set the linear velocity along y.
[in] | yVel | Linear velocity along y to be set |
void Odometry2DTimeArma::setOdoVelocity | ( | const Velocity2DArma & | vel | ) |
Set the linear velocity.
[in] | yVel | Linear velocity |
void Odometry2DTimeArma::setOdoOmegaZ | ( | const Decimal & | zOmega | ) |
Set the angular velocity along z.
[in] | zOmega | Angular velocity along z to be set |
string Odometry2DTimeArma::print | ( | ) |
Print function.