#include <DiffDriveOdometer.h>

Public Member Functions | |
| DiffDriveOdometer (const DiffDriveOdometerPar &p, const DiffDriveOdometerVar &v) | |
| Constructor. | |
| ~DiffDriveOdometer () | |
| void | reset (Pose &pose, DiffDriveEncoderReading &encodRead) |
| Reset the pose and the encoder readings to a certain value. | |
| bool | step (DiffDriveEncoderReading in, MotionModuleTState &out) |
| Reset the variables of the algorithm to a certain value. | |
| DiffDriveOdometer::DiffDriveOdometer | ( | const DiffDriveOdometerPar & | p, | |
| const DiffDriveOdometerVar & | v | |||
| ) |
Constructor.
| p | Parameters. | |
| v | Initial variables (state). |
| MipAlgorithms::DiffDriveOdometer::~DiffDriveOdometer | ( | ) | [inline] |
| void DiffDriveOdometer::reset | ( | Pose & | pose, | |
| DiffDriveEncoderReading & | encodRead | |||
| ) |
Reset the pose and the encoder readings to a certain value.
| [in] | &pose | Resetting pose. |
| [in] | &encoderReadings | Resetting encoder readings. |
| bool DiffDriveOdometer::step | ( | DiffDriveEncoderReading | in, | |
| MotionModuleTState & | out | |||
| ) |
Reset the variables of the algorithm to a certain value.
| p | New variables. Fundamental step of the algorithm. | |
| [in] | in | Inputs of the step (new pulses and times). |
| [out] | &out | Out of the step (new pose, new linear speed, new angular speed). |
1.5.6