MipAlgorithms::DiffDriveOdometerVar Class Reference

Contains the variables needed to compute the odometric update equations of a differential drive. More...

#include <DiffDriveOdometer.h>

List of all members.

Public Member Functions

 DiffDriveOdometerVar (Pose p=Pose(), DiffDriveEncoderReading r=DiffDriveEncoderReading())
 default constructor.
 DiffDriveOdometerVar (const DiffDriveOdometerVar &p)
 Copy constructor.
DiffDriveOdometerVaroperator= (const DiffDriveOdometerVar &p)
 Assigment operator =.
string print ()
 Prints the variables.

Public Attributes

Pose pose
 Current Pose, x,y,theta.
DiffDriveEncoderReading encodRead
 Readings (pulses,times) of the encoders of the wheels.
long unsigned int step


Detailed Description

Contains the variables needed to compute the odometric update equations of a differential drive.

Author:
Antonio Franchi
Todo:
Public or private variables?
Todo:
Add timestamp.

Constructor & Destructor Documentation

DiffDriveOdometerVar::DiffDriveOdometerVar ( Pose  p = Pose(),
DiffDriveEncoderReading  r = DiffDriveEncoderReading() 
)

default constructor.

Constructor.

Parameters:
p Initial Pose of the unicycle: x,y,theta.
lp Initial left-wheel/motor encoder pulses.
rp Initial right-wheel/motor encoder pulses.
lt Time in which the initial left-wheel/motor encoder pulses was aquired.
lt Time in which the initial right-wheel/motor encoder pulses was aquired.

DiffDriveOdometerVar::DiffDriveOdometerVar ( const DiffDriveOdometerVar p  ) 

Copy constructor.


Member Function Documentation

DiffDriveOdometerVar& MipAlgorithms::DiffDriveOdometerVar::operator= ( const DiffDriveOdometerVar p  )  [inline]

Assigment operator =.

string DiffDriveOdometerVar::print (  ) 

Prints the variables.


Member Data Documentation

Current Pose, x,y,theta.

Readings (pulses,times) of the encoders of the wheels.


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

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