#include <Korebot.h>

Public Member Functions | |
| Korebot (int argc, const char *argv[]) | |
| Default constructor. | |
| ~Korebot () | |
| Destructor. | |
| ResourcePlate | getPlate () const |
| Gets the plate. | |
| void | setWheelCommands (Decimal leftAngVel, Decimal rightAngVel) |
| Sets the angular velocities of the left and right wheels. | |
| DiffDriveEncoderReading | getEncoders () |
| Gets the DiffDriveEncoderReading of the encoders of the left and right wheels. | |
| void | resetEncoders () |
| Sets to 0 the encoders of the left and right wheels. | |
Protected Attributes | |
| KorebotPar * | _korePar |
| KorebotVar * | _koreVar |
| MipResources::Korebot::Korebot | ( | int | argc, | |
| const char * | argv[] | |||
| ) |
Default constructor.
| argc | Argc. | |
| argv | Argv. |
| MipResources::Korebot::~Korebot | ( | ) |
Destructor.
| ResourcePlate MipResources::Korebot::getPlate | ( | ) | const [inline, virtual] |
Sets the angular velocities of the left and right wheels.
| leftAngVel | Angular velocity to drive the left wheel. | |
| rightAngVel | Angular velocity to drive the right wheel. |
Implements MipResources::DiffDrive.
| DiffDriveEncoderReading MipResources::Korebot::getEncoders | ( | ) | [virtual] |
Gets the DiffDriveEncoderReading of the encoders of the left and right wheels.
Implements MipResources::DiffDrive.
| void MipResources::Korebot::resetEncoders | ( | ) |
Sets to 0 the encoders of the left and right wheels.
KorebotPar* MipResources::Korebot::_korePar [protected] |
Parameters, implemented class.
KorebotVar* MipResources::Korebot::_koreVar [protected] |
Variables, implemented class.
1.5.6