#include <R3Arma.h>
Public Member Functions | |
Pose3DArma () | |
Default constructor. | |
Pose3DArma (const Decimal &x, const Decimal &y, const Decimal &z, const Angle &roll, const Angle &pitch, const Angle &yaw) | |
Complete constructor. | |
Pose3DArma (const Position3DArma &pos, const Orientation3D &ori) | |
Complete constructor. | |
Pose3DArma (const Position3DArma &pos, const Angle &roll, const Angle &pitch, const Angle &yaw) | |
Complete constructor. | |
Pose3DArma (const Decimal &x, const Decimal &y, const Decimal &z, const Orientation3D &ori) | |
Complete constructor. | |
Pose3DArma (Pose3D &pos) | |
Copy constructor. | |
Pose3DArma (const Pose3DArma &pos) | |
Copy constructor. | |
Pose3DArma & | operator= (Pose3D &rhs) |
Assignment operator. | |
Pose3DArma & | operator= (const Pose3DArma &rhs) |
Assignment operator. | |
Pose3DArma & | operator+= (const Pose3DArma &a) |
Operator +=. | |
const Pose3DArma | operator+ (const Pose3DArma &other) const |
Operator +=. | |
Pose3DArma & | operator-= (const Pose3DArma &a) |
Operator -=. | |
const Pose3DArma | operator- (const Pose3DArma &other) const |
Operator -. | |
bool | operator== (const Pose3DArma &other) const |
Operator ==. | |
bool | operator!= (const Pose3DArma &other) const |
Operator !=. | |
Pose3DArma & | operator*= (const arma::Mat< Decimal >::fixed< 3, 3 > &rhs) |
Multiply for a rotation matrix. | |
Pose3DArma | operator* (const arma::Mat< Decimal >::fixed< 3, 3 > &rhs) const |
Operator *. | |
Pose3DArma & | operator*= (const arma::Mat< Decimal >::fixed< 4, 4 > &rhs) |
Multiply for a rotation matrix. | |
Pose3DArma | operator* (const arma::Mat< Decimal >::fixed< 4, 4 > &rhs) const |
Operator *. | |
Position3DArma | getPos () |
Get the current position. | |
Decimal | getX () const |
Get the current position on x axis. | |
Decimal | getY () const |
Get the current position on y axis. | |
Decimal | getZ () const |
Get the current position on z axis. | |
Angle | getRollAngle () const |
Get the current roll. | |
Angle | getPitchAngle () const |
Get the current pitch. | |
Angle | getYawAngle () const |
Get the current yaw. | |
Decimal | getRoll () const |
Get the current roll. | |
Decimal | getPitch () const |
Get the current pitch. | |
Decimal | getYaw () const |
Get the current yaw. | |
Decimal | getAzimuth () const |
Get the current azimuth. | |
Angle | getAzimuthAngle () const |
Get the current azimuth. | |
Decimal | getZenith () const |
Get the current zenith. | |
Angle | getZenithAngle () const |
Get the current zenith. | |
Decimal | norm (int p=2) const |
Get the current norm. | |
Orientation3D | getOri () |
Get the current orientation. | |
void | setPos (const Position3DArma &pos) |
Set the current position. | |
void | setX (const Decimal &x) |
Set the current position x component. | |
void | setY (const Decimal &y) |
Set the current position y component. | |
void | setZ (const Decimal &z) |
Set the current position z component. | |
void | setOri (const Orientation3D &ori) |
Set the current position. | |
void | setRoll (const Angle &roll) |
Set the current orientation roll. | |
void | setRoll (const Decimal &roll) |
Set the current orientation roll. | |
void | setPitch (const Angle &pitch) |
Set the current orientation pitch. | |
void | setPitch (const Decimal &pitch) |
Set the current orientation pitch. | |
void | setYaw (const Angle &yaw) |
Set the current orientation yaw. | |
void | setYaw (const Decimal &yaw) |
Set the current orientation yaw. | |
Pose2DArma | getPose2D () |
Get the Pose2D. | |
string | print () |
Print function. |
Pose3DArma::Pose3DArma | ( | ) |
Default constructor.
Pose3DArma::Pose3DArma | ( | const Decimal & | x, | |
const Decimal & | y, | |||
const Decimal & | z, | |||
const Angle & | roll, | |||
const Angle & | pitch, | |||
const Angle & | yaw | |||
) |
Complete constructor.
Pose3DArma::Pose3DArma | ( | const Position3DArma & | pos, | |
const Orientation3D & | ori | |||
) |
Complete constructor.
Pose3DArma::Pose3DArma | ( | const Position3DArma & | pos, | |
const Angle & | roll, | |||
const Angle & | pitch, | |||
const Angle & | yaw | |||
) |
Complete constructor.
Pose3DArma::Pose3DArma | ( | const Decimal & | x, | |
const Decimal & | y, | |||
const Decimal & | z, | |||
const Orientation3D & | ori | |||
) |
Complete constructor.
Pose3DArma::Pose3DArma | ( | Pose3D & | pos | ) |
Copy constructor.
Pose3DArma::Pose3DArma | ( | const Pose3DArma & | pos | ) |
Copy constructor.
Pose3DArma & Pose3DArma::operator= | ( | Pose3D & | rhs | ) |
Assignment operator.
Pose3DArma & Pose3DArma::operator= | ( | const Pose3DArma & | rhs | ) |
Assignment operator.
Pose3DArma & Pose3DArma::operator+= | ( | const Pose3DArma & | a | ) |
Operator +=.
const Pose3DArma Pose3DArma::operator+ | ( | const Pose3DArma & | other | ) | const |
Operator +=.
Pose3DArma & Pose3DArma::operator-= | ( | const Pose3DArma & | a | ) |
Operator -=.
const Pose3DArma Pose3DArma::operator- | ( | const Pose3DArma & | other | ) | const |
Operator -.
bool Pose3DArma::operator== | ( | const Pose3DArma & | other | ) | const |
Operator ==.
bool Pose3DArma::operator!= | ( | const Pose3DArma & | other | ) | const |
Operator !=.
Pose3DArma & Pose3DArma::operator*= | ( | const arma::Mat< Decimal >::fixed< 3, 3 > & | rhs | ) |
Multiply for a rotation matrix.
Pose3DArma Pose3DArma::operator* | ( | const arma::Mat< Decimal >::fixed< 3, 3 > & | rhs | ) | const |
Operator *.
Pose3DArma & Pose3DArma::operator*= | ( | const arma::Mat< Decimal >::fixed< 4, 4 > & | rhs | ) |
Multiply for a rotation matrix.
Pose3DArma Pose3DArma::operator* | ( | const arma::Mat< Decimal >::fixed< 4, 4 > & | rhs | ) | const |
Operator *.
Position3DArma Pose3DArma::getPos | ( | ) |
Get the current position.
Decimal Pose3DArma::getX | ( | ) | const |
Get the current position on x axis.
Decimal Pose3DArma::getY | ( | ) | const |
Get the current position on y axis.
Decimal Pose3DArma::getZ | ( | ) | const |
Get the current position on z axis.
Angle Pose3DArma::getRollAngle | ( | ) | const |
Get the current roll.
Angle Pose3DArma::getPitchAngle | ( | ) | const |
Get the current pitch.
Angle Pose3DArma::getYawAngle | ( | ) | const |
Get the current yaw.
Decimal Pose3DArma::getRoll | ( | ) | const |
Get the current roll.
Decimal Pose3DArma::getPitch | ( | ) | const |
Get the current pitch.
Decimal Pose3DArma::getYaw | ( | ) | const |
Get the current yaw.
Decimal Pose3DArma::getAzimuth | ( | ) | const |
Get the current azimuth.
Angle Pose3DArma::getAzimuthAngle | ( | ) | const |
Get the current azimuth.
Decimal Pose3DArma::getZenith | ( | ) | const |
Get the current zenith.
Angle Pose3DArma::getZenithAngle | ( | ) | const |
Get the current zenith.
Decimal Pose3DArma::norm | ( | int | p = 2 |
) | const |
Get the current norm.
[in] | p | Order of the norm |
Orientation3D Pose3DArma::getOri | ( | ) |
Get the current orientation.
void Pose3DArma::setPos | ( | const Position3DArma & | pos | ) |
void Pose3DArma::setX | ( | const Decimal & | x | ) |
Set the current position x component.
[in] | x | X to set |
void Pose3DArma::setY | ( | const Decimal & | y | ) |
Set the current position y component.
[in] | y | Y to set |
void Pose3DArma::setZ | ( | const Decimal & | z | ) |
Set the current position z component.
[in] | z | Z to set |
void Pose3DArma::setOri | ( | const Orientation3D & | ori | ) |
Set the current position.
[in] | ori | Orientation to set |
void Pose3DArma::setRoll | ( | const Angle & | roll | ) |
Set the current orientation roll.
[in] | roll | Roll to set |
void Pose3DArma::setRoll | ( | const Decimal & | roll | ) |
Set the current orientation roll.
[in] | roll | Roll to set |
void Pose3DArma::setPitch | ( | const Angle & | pitch | ) |
Set the current orientation pitch.
[in] | pitch | Pitch to set |
void Pose3DArma::setPitch | ( | const Decimal & | pitch | ) |
Set the current orientation pitch.
[in] | pitch | Pitch to set |
void Pose3DArma::setYaw | ( | const Angle & | yaw | ) |
Set the current orientation yaw.
[in] | yaw | Yaw to set |
void Pose3DArma::setYaw | ( | const Decimal & | yaw | ) |
Set the current orientation yaw.
[in] | yaw | Yaw to set |
Pose2DArma Pose3DArma::getPose2D | ( | ) |
string Pose3DArma::print | ( | ) |
Print function.