Dernier commit
Dependencies: mbed
Diff: Propulsion.h
- Revision:
- 0:1b0dce2e60ba
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Propulsion.h Mon Dec 01 21:24:13 2014 +0000 @@ -0,0 +1,33 @@ +#ifndef _PROPULSION_H +#define _PROPULSION_H + +#define T_ASSERV_DEFAULT 0.500 + +#include "mbed.h" +#include "Moteur.h" +#include "Config.h" + +class Propulsion +{ +public: + Propulsion(); + void setVitesse(float v); + void testPropulsion1(); + //void testPropulsion2(); + void testMoteurDroit(); + void testMoteurGauche(); + + + void setDKp(float k); + void setDKi(float k); + void setDKd(float k); + void setGKp(float k); + void setGKi(float k); + void setGKd(float k); + +private: + Moteur moteurDroit; + Moteur moteurGauche; +}; + +#endif \ No newline at end of file