#include <LineFollowing.h>
Public Member Functions | |
LineFollowing (ResourcePointers resources, int argc, const char *argv[]) | |
Constructor. | |
~LineFollowing () | |
Destructor. | |
TaskPlate | getPlate () const |
get task plate (mandatory), it must be defined for all implemented task | |
Time | getMaxDuration () |
get maxSamplPeriod, maximum allowed time period between two calls of a run */ | |
Time | getMaxSamplPeriod () |
get minSamplPeriod, minimum allowed time period between two calls of a run */ | |
Time | getMinSamplPeriod () |
get minSamplPeriod, minimum allowed time period between two calls of a run */ | |
TaskOutputs | run () |
Executes a step of the task. |
This task allows a mobile robot equipped with ground sensors to track a line on the ground. It is possible to employ two kinds of control (base and adaptive) by setting some particular parameters.
The modalities of control are chosen by the following options:
MipTasks::LineFollowing::LineFollowing | ( | ResourcePointers | resources, | |
int | argc, | |||
const char * | argv[] | |||
) |
Constructor.
resources | Resource pointer. | |
argc | Argc. | |
argv | Argv. |
MipTasks::LineFollowing::~LineFollowing | ( | ) | [inline] |
Destructor.
TaskPlate MipTasks::LineFollowing::getPlate | ( | ) | const [inline, virtual] |
Time MipTasks::LineFollowing::getMaxDuration | ( | ) | [inline, virtual] |
get maxSamplPeriod, maximum allowed time period between two calls of a run */
Implements MipTasks::Task.
Time MipTasks::LineFollowing::getMaxSamplPeriod | ( | ) | [inline, virtual] |
get minSamplPeriod, minimum allowed time period between two calls of a run */
Implements MipTasks::Task.
Time MipTasks::LineFollowing::getMinSamplPeriod | ( | ) | [inline, virtual] |
get minSamplPeriod, minimum allowed time period between two calls of a run */
Implements MipTasks::Task.
TaskOutputs MipTasks::LineFollowing::run | ( | void | ) | [virtual] |