TRR2018 omar

Dependencies:   mbed

Fork of biniou by TRR 2018

Revision:
41:4dd36f607279
Parent:
39:de3638276b7e
Child:
50:44c0a075e78d
Child:
51:09ecba68d0cf
--- a/stateMachines.h	Wed Sep 19 13:13:37 2018 +0000
+++ b/stateMachines.h	Wed Sep 19 13:42:04 2018 +0000
@@ -9,7 +9,7 @@
 #define DUMP_SAMPLIG_PERIOD 10000
 #define DEBUG -1//-1 pour avoir uniquement la gestion de l'interruption bouton
 
-#define NB_INTEGRAL_SAMPLES 5
+#define NB_INTEGRAL_SAMPLES 20
 
 #define TACHY_CM 8.0 // distance arbre
 #define COEF_RAYON_BR_S_DIST 1
@@ -23,7 +23,7 @@
 #define DIRECTION_PULSE_MIN 800
 #define DIRECTION_PULSE_MIDDLE 1530
 
-#define DIST_MIN_LONG_CM 30
+#define DIST_MIN_LONG_CM 40
 
 #define SPEED_PERIOD_US 20000
 #define BRAKING_PULSE_US 1350