ARES / Mbed 2 deprecated Robot 2016

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Asservissement_v1.h Source File

Asservissement_v1.h

00001 #ifndef ASSERVISSEMENT_V1_H
00002 #define ASSERVISSEMENT_V1_H
00003 
00004 #include "Asservissement.h"
00005 
00006 class Asservissement_v1: public Asservissement
00007 {
00008 public:
00009     Asservissement_v1(Odometry &odometry, Motor &motorL, Motor &motorR);
00010     virtual void update(float dt);
00011     
00012     virtual void setGoal(float x, float y, float theta);
00013     virtual void setGoal(float x, float y);
00014     
00015     virtual void stop();
00016     
00017     virtual bool isArrived();
00018     
00019     virtual char getState();
00020 private:
00021     char m_state;
00022 };
00023 
00024 
00025 #endif