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.
sm_sections.cpp
- Committer:
- GaspardD
- Date:
- 2019-09-29
- Revision:
- 3:1b7eb426247e
- Child:
- 4:efa207509f63
File content as of revision 3:1b7eb426247e:
#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;
}