Henrique Cardoso / Mbed OS Lidar_Rodas

Dependencies:   BufferedSerial

Revision:
8:ad8766cf2ec0
Parent:
7:f1c122bc63c8
Child:
9:76b59c5220f1
--- a/Functions.h	Mon May 10 15:23:24 2021 +0000
+++ b/Functions.h	Tue May 11 15:05:49 2021 +0000
@@ -1,8 +1,11 @@
 #include "mbed.h"
 
+extern float MapaLog[40][40], Mapa40[40][40];
+
+//float MapaLog[40][40];
+
 void velRobot2velWheels(float vRobot, float wRobot, float wheelsRadius, float wheelsDistance, float w[2]);
 void nextPose(float countsLeft, float countsRight, float wheelsRadius, float wheelsDistance, float pose[]);
 void JanelaAtivaVFF(float pose[], float Mapa_40[40][40], float poseFinal[], float FCRepul, float FCAtracao, float RectSize, float *ForcaResult);
 float Algorith_Inverse(float xi, float yi, float xt, float yt, float z);
-void bresenham(int xi, int yi, int xf, int yf, float (&MapaLog)[40][40], float z);
-//void test2(float xi, float yi, float x1, float y1, float z);
+void bresenham(float xi, float yi, float xf, float yf, float z);