g2o
Public Member Functions | Public Attributes | Protected Attributes | List of all members
g2o::VelocityMeasurement Class Reference

velocity measurement of a differential robot More...

#include <odometry_measurement.h>

Public Member Functions

 VelocityMeasurement ()
 
 VelocityMeasurement (double vl, double vr, double dt)
 
double vl () const
 
void setVl (double v)
 
double vr () const
 
void setVr (double v)
 
double dt () const
 
void setDt (double t)
 
const Vector2Dmeasurement () const
 

Public Attributes

 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
 

Protected Attributes

Vector2D _measurement
 
double _dt
 

Detailed Description

velocity measurement of a differential robot

Definition at line 38 of file odometry_measurement.h.

Constructor & Destructor Documentation

g2o::VelocityMeasurement::VelocityMeasurement ( )

Definition at line 34 of file odometry_measurement.cpp.

34  :
35  _measurement(0., 0.), _dt(0.)
36  {
37  }
g2o::VelocityMeasurement::VelocityMeasurement ( double  vl,
double  vr,
double  dt 
)

Member Function Documentation

double g2o::VelocityMeasurement::dt ( ) const
inline
const Vector2D& g2o::VelocityMeasurement::measurement ( ) const
inline

Definition at line 54 of file odometry_measurement.h.

54 { return _measurement;}
void g2o::VelocityMeasurement::setDt ( double  t)
inline

Definition at line 52 of file odometry_measurement.h.

void g2o::VelocityMeasurement::setVl ( double  v)
inline

Definition at line 46 of file odometry_measurement.h.

Referenced by main().

46 { _measurement(0) = v;}
void g2o::VelocityMeasurement::setVr ( double  v)
inline

Definition at line 49 of file odometry_measurement.h.

Referenced by main().

49 { _measurement(1) = v;}
double g2o::VelocityMeasurement::vl ( ) const
inline
double g2o::VelocityMeasurement::vr ( ) const
inline

Member Data Documentation

double g2o::VelocityMeasurement::_dt
protected

Definition at line 58 of file odometry_measurement.h.

Vector2D g2o::VelocityMeasurement::_measurement
protected

Definition at line 57 of file odometry_measurement.h.

g2o::VelocityMeasurement::EIGEN_MAKE_ALIGNED_OPERATOR_NEW

Definition at line 41 of file odometry_measurement.h.


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