kevin eccli / Mbed 2 deprecated Freescale_CupV4

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Propulsion.h Source File

Propulsion.h

00001 #ifndef _PROPULSION_H
00002 #define _PROPULSION_H
00003 
00004 #define T_ASSERV_DEFAULT 0.500
00005 
00006 #include "mbed.h"
00007 #include "Moteur.h"
00008 #include "Config.h"
00009 
00010 class Propulsion
00011 {
00012 public:
00013     Propulsion();
00014     void setVitesse(float v);
00015     void testPropulsion1();
00016     //void testPropulsion2();
00017     void testMoteurDroit();
00018     void testMoteurGauche();
00019     
00020     
00021     void setDKp(float k);
00022     void setDKi(float k);
00023     void setDKd(float k);
00024     void setGKp(float k);
00025     void setGKi(float k);
00026     void setGKd(float k);
00027 
00028 private:
00029 
00030     Moteur moteurDroit;
00031     Moteur moteurGauche;
00032 };
00033 
00034 #endif