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.
Diff: sm_sections.cpp
- Revision:
- 3:1b7eb426247e
- Child:
- 4:efa207509f63
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sm_sections.cpp Sun Sep 29 00:43:58 2019 +0000
@@ -0,0 +1,36 @@
+#include "sm_sections.h"
+
+s_Section* currentSection;
+
+s_Section section1;
+s_Section section2;
+
+
+void init_sm_sections(){
+
+ //section de départ
+ section1.nextSection = §ion2;
+ section1.consigne_position = 0.75;
+ section1.targetSpeed_mps = 1.0;
+ section1.lng_section_m = 1.0;
+ section1.coef_p = 1.0;
+ section1.coef_d = 0.0;
+ section1.coef_i = 0.000;
+
+ //epingle 1
+ section2.nextSection = NULL;
+ section2.consigne_position = 0.75;
+ section2.targetSpeed_mps = 1.0;
+ section2.lng_section_m = 1.0;
+ section2.coef_p = 1.0;
+ section2.coef_d = 0.0;
+ section2.coef_i = 0.000;
+
+ return;
+}
+void update_sm_sections(){
+ return;
+}
+void output_sm_sections(){
+ return;
+}