TRR2018 omar

Dependencies:   mbed

Fork of biniou by TRR 2018

Revision:
18:38504337d2fc
Parent:
17:8c465656eea4
Child:
19:771bf61be276
--- a/stateMachines.cpp	Wed Sep 12 22:14:59 2018 +0000
+++ b/stateMachines.cpp	Wed Sep 12 22:37:07 2018 +0000
@@ -176,13 +176,13 @@
 
     //section de test
     p_section1.nextSection = NULL;
-    p_section1.targetSpeed_cmps = 0;
-    p_section1.slowSpeed_cmps = 0;
-    p_section1.brakingCoefficient = 20; // application de la formule
+    p_section1.targetSpeed_cmps = 10;
+    p_section1.slowSpeed_cmps = 5;
+    p_section1.brakingCoefficient = 30; // application de la formule
     p_section1.us_accel = 1;//+1 microsec each loop
     p_section1.us_decel = 1;
-    p_section1.lidarWarningDist_cm = 100;
-    p_section1.lng_section_cm = 10000;//1500;//1500cm
+    p_section1.lidarWarningDist_cm = 300;
+    p_section1.lng_section_cm = 1500;//1500cm
     p_section1.coef_p = 35;
     p_section1.coef_i = 0;
     p_section1.coef_d = 0;