Paclay-Saris pod racers / Mbed 2 deprecated Algo_charges_fictives_4

Dependencies:   mbed

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