MIRA
Public Member Functions | Public Attributes | List of all members
Odometry< D > Class Template Reference

Odometry class. More...

#include <robot/Odometry.h>

Public Member Functions

bool isApprox (const Odometry< D > &other, float prec=std::numeric_limits< float >::epsilon()) const
 
Constructors and reflect
 Odometry ()
 
 Odometry (const RigidTransform< float, D > &p, const RigidTransform< float, D > &v)
 Construct a new odometry object. More...
 
template<typename Reflector >
void reflect (Reflector &r)
 

Public Attributes

RigidTransform< float, D > pose
 The pose. More...
 
RigidTransform< float, D > velocity
 The velocity. More...
 

Detailed Description

template<int D>
class mira::robot::Odometry< D >

Odometry class.

Contains a Pose for the position and a Velocity for translational and rotational speed.

Constructor & Destructor Documentation

◆ Odometry() [1/2]

Odometry ( )
inline

◆ Odometry() [2/2]

Odometry ( const RigidTransform< float, D > &  p,
const RigidTransform< float, D > &  v 
)
inline

Construct a new odometry object.

Parameters
[in]pThe current pose.
[in]vThe current velocity.

Member Function Documentation

◆ reflect()

void reflect ( Reflector &  r)
inline

◆ isApprox()

bool isApprox ( const Odometry< D > &  other,
float  prec = std::numeric_limits<float>::epsilon() 
) const
inline

Member Data Documentation

◆ pose

RigidTransform<float, D> pose

The pose.

◆ velocity

RigidTransform<float, D> velocity

The velocity.


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