Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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
Generated on Wed Jul 13 2022 20:35:19 by
1.7.2