![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
TRR2018 omar
Fork of biniou by
Diff: stateMachines.h
- Revision:
- 36:bccddd02966a
- Parent:
- 34:c98fd59c690a
- Child:
- 39:de3638276b7e
diff -r f202f7e4237a -r bccddd02966a stateMachines.h --- a/stateMachines.h Tue Sep 18 21:05:29 2018 +0000 +++ b/stateMachines.h Wed Sep 19 07:43:16 2018 +0000 @@ -7,18 +7,18 @@ //#define DLVV #define SAMPLING//commenter pour désactiver #define DUMP_SAMPLIG_PERIOD 10000 -#define DEBUG 3//-1 pour avoir uniquement la gestion de l'interruption bouton +#define DEBUG -1//-1 pour avoir uniquement la gestion de l'interruption bouton #define NB_INTEGRAL_SAMPLES 5 -#define TACHY_CM 8.0 +#define TACHY_CM 8.0 // distance arbre #define COEF_RAYON_BR_S_DIST 1 //#define FREINAGE_ADAPTATIF #define PUISSANCE_FREINAGE_W 1000 //en W #define MASSE_BINIOU_KG 1.8 #define DEMI_LARGEUR_BINIOU_CM 10.0 -#define DIERCTION_PERIOD_MS 10000 +#define DIRECTION_PERIOD_MS 10000 #define DIRECTION_PULSE_MAX 2100 #define DIRECTION_PULSE_MIN 800 #define DIRECTION_PULSE_MIDDLE 1530 @@ -125,7 +125,7 @@ //*************** fonctions utilitaires *************** -void getTachySpeed(); +//void getTachySpeed(); double getDistMoy(AnalogIn* p, double *tab, int size); void it4cm(); void it_serial();