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.
Dependencies: mbed
Diff: SaphTeamRacing.h
- Revision:
- 18:daba0b3777c0
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SaphTeamRacing.h Fri Jun 07 01:11:01 2019 +0000 @@ -0,0 +1,21 @@ +#ifndef STR_H +#define STR_H + +#include "mbed.h" +#include <math.h> + +// importer toutes les fonctions ici + +// Servo +float angle_servo(float *direction); +// Lidar +void interrupt_lidar_rx(Serial lidar, bool *tableau_en_cours, + uint8_t *flag_fin_tour_lidar, float* tableau_distance0, + float* tableau_distance1); +void afficher_lidar(float *tableau_distances_var, Serial pc); +// Utils +float distance(float x_1, float x_2, float y_1, float y_2); +// Direction +void update_direction(float* list_lidar_var, float* vecteur); + +#endif \ No newline at end of file