TRR 2018 / Mbed 2 deprecated biniou-TRR2019

Dependencies:   mbed MPU6050

Revision:
6:ab9f3695633f
Parent:
4:efa207509f63
Child:
8:f23601373e8b
--- a/sm_sections.h	Sun Sep 29 17:09:48 2019 +0000
+++ b/sm_sections.h	Sun Sep 29 20:07:54 2019 +0000
@@ -15,33 +15,17 @@
     RUNNING_SECTION
 }E_STATE_SECTIONS;
 
-
-/*
-Structures
-*/
-typedef struct s_section {
-   double targetSpeed_mps;
-   double consigne_position;
-   double lng_section_m;
-   double coef_p;
-   double coef_i;
-   double coef_d;
-   s_section* nextSection;
-}s_Section;
-
-
 /*
 Variables
 */
-
-extern s_Section* currentSection;
+extern E_STATE_SECTIONS e_stateSections;
 
 /*
 Functions
 */
-void init_sm_servo();
-void update_sm_servo();
-void output_sm_servo();
+void init_sm_sections();
+void update_sm_sections();
+void output_sm_sections();