#include <MotionModule.h>
Public Member Functions | |
DiffDrivePar () | |
Default constructor. | |
Decimal | maxWheelTurnRate (void) |
Gets the maximum wheel turnrate (rad/sec). | |
Decimal | leftDiam (void) |
Gets the left-wheel diameter (m). | |
Decimal | rightDiam (void) |
Gets the right-wheel diameter (m). | |
Decimal | averageDiam (void) |
Gets the average of the wheel diameters (m). | |
Decimal | axelTrack (void) |
Gets the axel track (m). | |
Decimal | encoderResol (void) |
Gets the encoder resolution (used for odometry) (pulse/rad). | |
string | print () |
Prints parameters. | |
Protected Member Functions | |
Decimal | _providedMaxDrive (void) |
Gets the maximum Drive (linear velocity) in m/sec. | |
Decimal | _providedMaxTurnRate (void) |
Gets the maximum Turnarate in rad/sec. | |
virtual string | _providedName ()=0 |
Gets the name. | |
virtual Decimal | _providedMaxWheelTurnRate (void)=0 |
virtual Decimal | _providedLeftDiam (void)=0 |
virtual Decimal | _providedRightDiam (void)=0 |
virtual Decimal | _providedAxelTrack (void)=0 |
virtual Decimal | _providedEncoderResol (void)=0 |
MipResources::DiffDrivePar::DiffDrivePar | ( | ) | [inline] |
Default constructor.
Decimal MipResources::DiffDrivePar::_providedMaxDrive | ( | void | ) | [protected, virtual] |
Decimal MipResources::DiffDrivePar::_providedMaxTurnRate | ( | void | ) | [protected, virtual] |
virtual string MipResources::DiffDrivePar::_providedName | ( | ) | [protected, pure virtual] |
Gets the name.
Implements MipResources::MotionModulePar.
Implemented in MipResources::KorebotROSPar.
virtual Decimal MipResources::DiffDrivePar::_providedMaxWheelTurnRate | ( | void | ) | [protected, pure virtual] |
Implemented in MipResources::KorebotROSPar.
virtual Decimal MipResources::DiffDrivePar::_providedLeftDiam | ( | void | ) | [protected, pure virtual] |
Implemented in MipResources::KorebotROSPar.
virtual Decimal MipResources::DiffDrivePar::_providedRightDiam | ( | void | ) | [protected, pure virtual] |
Implemented in MipResources::KorebotROSPar.
virtual Decimal MipResources::DiffDrivePar::_providedAxelTrack | ( | void | ) | [protected, pure virtual] |
Implemented in MipResources::KorebotROSPar.
virtual Decimal MipResources::DiffDrivePar::_providedEncoderResol | ( | void | ) | [protected, pure virtual] |
Implemented in MipResources::KorebotROSPar.
Decimal MipResources::DiffDrivePar::maxWheelTurnRate | ( | void | ) |
Gets the maximum wheel turnrate (rad/sec).
Decimal MipResources::DiffDrivePar::leftDiam | ( | void | ) |
Gets the left-wheel diameter (m).
Decimal MipResources::DiffDrivePar::rightDiam | ( | void | ) |
Gets the right-wheel diameter (m).
Decimal MipResources::DiffDrivePar::averageDiam | ( | void | ) |
Gets the average of the wheel diameters (m).
Decimal MipResources::DiffDrivePar::axelTrack | ( | void | ) |
Gets the axel track (m).
Decimal MipResources::DiffDrivePar::encoderResol | ( | void | ) |
Gets the encoder resolution (used for odometry) (pulse/rad).
string MipResources::DiffDrivePar::print | ( | ) | [virtual] |
Prints parameters.
Reimplemented from MipResources::MotionModulePar.
Reimplemented in MipResources::KorebotROSPar.