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.
utils.h
- Committer:
- GaspardD
- Date:
- 2019-09-29
- Revision:
- 6:ab9f3695633f
- Parent:
- 5:8bbe640528bc
- Child:
- 8:f23601373e8b
File content as of revision 6:ab9f3695633f:
#ifndef UTILS_H #define UTILS_H #include "mbed.h" #include "chassis_mode.h" /* Structs */ 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; /* Globals */ extern Timer timerSinceStart; extern bool b_UTILS_flag_button; extern bool b_UTILS_flag_emergency_stop; extern Serial pc; extern Serial odroid; extern InterruptIn button; extern s_Section* s_UTILS_currentSection; /* Functions */ void it_pressed(); #endif