This program is for an autonomous robot for the competition at the Hochschule Luzern. http://cruisingcrepe.wordpress.com/ We are one of the 32 teams. http://cruisingcrepe.wordpress.com/ The postition control is based on this Documentation: Control of Wheeled Mobile Robots: An Experimental Overview from Alessandro De Luca, Giuseppe Oriolo, Marilena Vendittelli. For more information see here: http://www.dis.uniroma1.it/~labrob/pub/papers/Ramsete01.pdf

Dependencies:   mbed

Fork of autonomous Robot Android by Christian Burri

Task/Task.cpp

Committer:
chrigelburri
Date:
2013-02-07
Revision:
0:31f7be68e52d
Child:
3:92ba0254af87

File content as of revision 0:31f7be68e52d:

#include "Task.h"

Task::Task(float period)
{
    this->period = period;
}

Task::~Task()
{

}

float Task::getPeriod()
{
    return period;
}

void Task::start()
{
    ticker.attach(this, &Task::run, period);
}

void Task::stop()
{
    ticker.detach();
}

void Task::run()
{

}