MipBaselib::Odometry3DArma Class Reference

#include <R3Arma.h>

List of all members.

Public Member Functions

 Odometry3DArma ()
 Default constructor.
 Odometry3DArma (const Decimal &linVelX, const Decimal &linVelY, const Decimal &linVelZ, const Decimal &velAngX, const Decimal &velAngY, const Decimal &velAngZ)
 Complete constructor.
 Odometry3DArma (const Decimal &linVelX, const Decimal &linVelY, const Decimal &linVelZ, const Velocity3DArma &angVel)
 Complete constructor.
 Odometry3DArma (const Velocity3DArma &linVel, const Decimal &velAngX, const Decimal &velAngY, const Decimal &velAngZ)
 Complete constructor.
 Odometry3DArma (const Velocity3DArma &linVel, const Velocity3DArma &angVel)
 Complete constructor.
Odometry3DArmaoperator= (const Odometry3DArma &rhs)
 Assignment operator.
Odometry3DArmaoperator= (const arma::Mat< Decimal > &rhs)
 Assignment operator.
Odometry3DArmaoperator+= (const Odometry3DArma &pos)
 Compound assignment operator product by a another IMU3DArma pos +=.
Odometry3DArmaoperator+= (const Decimal &scalar)
 Compound assignment operator sum by a scalar +.
Odometry3DArma operator- (Odometry3DArma &other) const
 Binary arithmetic operator element-wise IMU3DArma.
Odometry3DArmaoperator-= (const Odometry3DArma &pos)
 Compound assignment operator product by a another IMU3DArma pos -=.
Odometry3DArmaoperator-= (const Decimal &scalar)
 Compound assignment operator sum by a scalar +.
Odometry3DArma operator+ (Odometry3DArma &other) const
 Binary arithmetic operator element-wise IMU3DArma.
Odometry3DArmaoperator*= (const Odometry3DArma &pos)
 Compound assignment operator product by a another IMU3DArma pos *=.
Odometry3DArmaoperator*= (const Decimal &scalar)
 Compound assignment operator product by a scalar *.
Odometry3DArma operator* (Odometry3DArma &other) const
 Binary arithmetic operator element-wise scalar.
Odometry3DArmaoperator/= (const Odometry3DArma &pos)
 Compound assignment operator product by a another Position3DArma pos *=.
Odometry3DArmaoperator/= (const Decimal &scalar)
 Compound assignment operator product by a scalar *.
Odometry3DArma operator/ (Odometry3DArma &other) const
 Binary arithmetic operator element-wise scalar.
bool operator== (const Odometry3DArma &other) const
 Operator ==.
Decimal getLinVelX () const
 Get the current linear velocity along x.
Decimal getLinVelY () const
 Get the current linear velocity along y.
Decimal getLinVelZ () const
 Get the current linear velocity along z.
Velocity3DArma getLinearVelocity () const
 Get the current linear velocity.
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 setLinVelX (const Decimal &x)
 Set the linear velocity along x axis.
void setLinVelY (const Decimal &y)
 Set the linear velocity along x axis.
void setLinVelZ (const Decimal &z)
 Set the acceleration along x axis.
void setLinearVelocity (const Velocity3DArma &acc)
 Set the linear velocity 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.
Odometry3DArmamatrixProd (const arma::Mat< Decimal >::fixed< 3, 3 > &in)
 Product by a matrix.
Odometry3DArmamatrixProd (const Roto3DArma &in)
 Product by a matrix.
Odometry3DArmamatrixProdLinVel (const arma::Mat< Decimal >::fixed< 3, 3 > &in)
 Product by a matrix only the acceleration component.
Odometry3DArmamatrixProdAngVel (const arma::Mat< Decimal >::fixed< 3, 3 > &in)
 Product by a matrix only the angular velocity component.
Odometry3DArmamatrixProdLinVel (const Roto3DArma &in)
 Product by a matrix only the acceleration component.
Odometry3DArmamatrixProdAngVel (const Roto3DArma &in)
 Product by a matrix only the angular velocity component.
Odometry2DArma getOdometry2D () const
 Get the 2D Odometry data.
string print ()
 Print function.


Constructor & Destructor Documentation

Odometry3DArma::Odometry3DArma (  ) 

Default constructor.

Odometry3DArma::Odometry3DArma ( const Decimal linVelX,
const Decimal linVelY,
const Decimal linVelZ,
const Decimal velAngX,
const Decimal velAngY,
const Decimal velAngZ 
)

Complete constructor.

Odometry3DArma::Odometry3DArma ( const Decimal linVelX,
const Decimal linVelY,
const Decimal linVelZ,
const Velocity3DArma angVel 
)

Complete constructor.

Odometry3DArma::Odometry3DArma ( const Velocity3DArma linVel,
const Decimal velAngX,
const Decimal velAngY,
const Decimal velAngZ 
)

Complete constructor.

Odometry3DArma::Odometry3DArma ( const Velocity3DArma linVel,
const Velocity3DArma angVel 
)

Complete constructor.


Member Function Documentation

Odometry3DArma & Odometry3DArma::operator= ( const Odometry3DArma rhs  ) 

Assignment operator.

Odometry3DArma & Odometry3DArma::operator= ( const arma::Mat< Decimal > &  rhs  ) 

Assignment operator.

Odometry3DArma & Odometry3DArma::operator+= ( const Odometry3DArma pos  ) 

Compound assignment operator product by a another IMU3DArma pos +=.

Odometry3DArma & Odometry3DArma::operator+= ( const Decimal scalar  ) 

Compound assignment operator sum by a scalar +.

Odometry3DArma Odometry3DArma::operator- ( Odometry3DArma other  )  const

Binary arithmetic operator element-wise IMU3DArma.

Odometry3DArma & Odometry3DArma::operator-= ( const Odometry3DArma pos  ) 

Compound assignment operator product by a another IMU3DArma pos -=.

Odometry3DArma & Odometry3DArma::operator-= ( const Decimal scalar  ) 

Compound assignment operator sum by a scalar +.

Odometry3DArma Odometry3DArma::operator+ ( Odometry3DArma other  )  const

Binary arithmetic operator element-wise IMU3DArma.

Odometry3DArma & Odometry3DArma::operator*= ( const Odometry3DArma pos  ) 

Compound assignment operator product by a another IMU3DArma pos *=.

Odometry3DArma & Odometry3DArma::operator*= ( const Decimal scalar  ) 

Compound assignment operator product by a scalar *.

Odometry3DArma Odometry3DArma::operator* ( Odometry3DArma other  )  const

Binary arithmetic operator element-wise scalar.

Odometry3DArma & Odometry3DArma::operator/= ( const Odometry3DArma pos  ) 

Compound assignment operator product by a another Position3DArma pos *=.

Odometry3DArma & Odometry3DArma::operator/= ( const Decimal scalar  ) 

Compound assignment operator product by a scalar *.

Odometry3DArma Odometry3DArma::operator/ ( Odometry3DArma other  )  const

Binary arithmetic operator element-wise scalar.

bool Odometry3DArma::operator== ( const Odometry3DArma other  )  const

Operator ==.

Decimal Odometry3DArma::getLinVelX (  )  const

Get the current linear velocity along x.

Returns:
Current linear velocity along x axis

Decimal Odometry3DArma::getLinVelY (  )  const

Get the current linear velocity along y.

Returns:
Current linear velocity along y axis

Decimal Odometry3DArma::getLinVelZ (  )  const

Get the current linear velocity along z.

Returns:
Current linear velocity along z axis

Velocity3DArma Odometry3DArma::getLinearVelocity (  )  const

Get the current linear velocity.

Returns:
Current linear velocity

Decimal Odometry3DArma::getAngVelX (  )  const

Get the current angular velocity along x.

Returns:
Current angular velocity along x axis

Decimal Odometry3DArma::getAngVelY (  )  const

Get the current angular velocity along y.

Returns:
Current angular velocity along y axis

Decimal Odometry3DArma::getAngVelZ (  )  const

Get the current angular velocity along z.

Returns:
Current angular velocity along z axis

Velocity3DArma Odometry3DArma::getAngularVelocity (  )  const

Get the current angular velocity.

Returns:
Current angular velocity

void Odometry3DArma::setLinVelX ( const Decimal x  ) 

Set the linear velocity along x axis.

Parameters:
[in] &x Linear velocity to be set

void Odometry3DArma::setLinVelY ( const Decimal y  ) 

Set the linear velocity along x axis.

Parameters:
[in] &x Linear velocity to be set

void Odometry3DArma::setLinVelZ ( const Decimal z  ) 

Set the acceleration along x axis.

Parameters:
[in] &x Acceleration to be set

void Odometry3DArma::setLinearVelocity ( const Velocity3DArma acc  ) 

Set the linear velocity along x axis.

Parameters:
[in] &x Linear velocity to be set

void Odometry3DArma::setAngVelX ( const Decimal x  ) 

Set the angular velocity along x axis.

Parameters:
[in] &x Angular velocity to be set

void Odometry3DArma::setAngVelY ( const Decimal y  ) 

Set the angular velocity along y axis.

Parameters:
[in] &y Angular velocity to be set

void Odometry3DArma::setAngVelZ ( const Decimal z  ) 

Set the angular velocity along z axis.

Parameters:
[in] &z Angular velocity to be set

void Odometry3DArma::setAngularVelocity ( const Velocity3DArma angVel  ) 

Set the angular velocity.

Parameters:
[in] &y Angular velocity to be set

Odometry3DArma & Odometry3DArma::matrixProd ( const arma::Mat< Decimal >::fixed< 3, 3 > &  in  ) 

Product by a matrix.

Parameters:
[in]  &in Matrix 3x3

Odometry3DArma & Odometry3DArma::matrixProd ( const Roto3DArma in  ) 

Product by a matrix.

Parameters:
[in]  &in Matrix 3x3

Odometry3DArma & Odometry3DArma::matrixProdLinVel ( const arma::Mat< Decimal >::fixed< 3, 3 > &  in  ) 

Product by a matrix only the acceleration component.

Parameters:
[in]  &in Matrix 3x3

Odometry3DArma & Odometry3DArma::matrixProdAngVel ( const arma::Mat< Decimal >::fixed< 3, 3 > &  in  ) 

Product by a matrix only the angular velocity component.

Parameters:
[in]  &in Matrix 3x3

Odometry3DArma & Odometry3DArma::matrixProdLinVel ( const Roto3DArma in  ) 

Product by a matrix only the acceleration component.

Parameters:
[in]  &in Matrix 3x3

Odometry3DArma & Odometry3DArma::matrixProdAngVel ( const Roto3DArma in  ) 

Product by a matrix only the angular velocity component.

Parameters:
[in]  &in Matrix 3x3

Odometry2DArma Odometry3DArma::getOdometry2D (  )  const

Get the 2D Odometry data.

string Odometry3DArma::print (  ) 

Print function.


The documentation for this class was generated from the following files:

Generated on Mon Feb 20 07:01:12 2017 for MIP by  doxygen 1.5.6