ARES / Mbed 2 deprecated Robot 2016

Dependencies:   mbed

Asservissement/Asservissement_v1.h

Committer:
Jagang
Date:
2015-05-24
Revision:
0:b127c787a51b

File content as of revision 0:b127c787a51b:

#ifndef ASSERVISSEMENT_V1_H
#define ASSERVISSEMENT_V1_H

#include "Asservissement.h"

class Asservissement_v1: public Asservissement
{
public:
    Asservissement_v1(Odometry &odometry, Motor &motorL, Motor &motorR);
    virtual void update(float dt);
    
    virtual void setGoal(float x, float y, float theta);
    virtual void setGoal(float x, float y);
    
    virtual void stop();
    
    virtual bool isArrived();
    
    virtual char getState();
private:
    char m_state;
};


#endif