#include <DiffDriveOdometer.h>
Public Member Functions | |
| DiffDriveOdometerVar (Pose p=Pose(), DiffDriveEncoderReading r=DiffDriveEncoderReading()) | |
| default constructor. | |
| DiffDriveOdometerVar (const DiffDriveOdometerVar &p) | |
| Copy constructor. | |
| DiffDriveOdometerVar & | operator= (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 |
| DiffDriveOdometerVar::DiffDriveOdometerVar | ( | Pose | p = Pose(), |
|
| DiffDriveEncoderReading | r = DiffDriveEncoderReading() | |||
| ) |
default constructor.
Constructor.
| 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.
| DiffDriveOdometerVar& MipAlgorithms::DiffDriveOdometerVar::operator= | ( | const DiffDriveOdometerVar & | p | ) | [inline] |
Assigment operator =.
| string DiffDriveOdometerVar::print | ( | ) |
Prints the variables.
Current Pose, x,y,theta.
Readings (pulses,times) of the encoders of the wheels.
| long unsigned int MipAlgorithms::DiffDriveOdometerVar::step |
1.5.6