Henrique Cardoso / Mbed OS Lidar_Rodas

Dependencies:   BufferedSerial

Revision:
6:59fbbeaac2af
Parent:
5:bc42c03f2a23
Child:
7:f1c122bc63c8
--- a/Functions.cpp	Fri May 07 14:58:46 2021 +0000
+++ b/Functions.cpp	Fri May 07 17:19:07 2021 +0000
@@ -35,7 +35,6 @@
 
 float Algorith_Inverse(float xi, float yi, float xt, float yt, float z){
     
-    
     float z_max = 200; // 2 m
     float alfa = 5; // 5 cm
     //float beta = 1; // 1 grau
@@ -60,8 +59,9 @@
     
 }
 
-void bresenham(float poseX, float poseY, float x1, float y1, float MapaLog[40][40], float z){
-    
+//void bresenham(float poseX, float poseY, float x1, float y1, float MapaLog[][40], float z){
+void cona(float poseX, float poseY, float x1, float y1, float z){
+    /*
     int T, E, A, B;
     int x = static_cast<int>(poseX);
     int y = static_cast<int>(poseY);
@@ -102,8 +102,9 @@
         }
         
         // Mapear mapa do Logaritmo
-        MapaLog[x][y] = MapaLog[x][y] + Algorith_Inverse(poseX, poseY, x, y, z);        
+        //MapaLog[x][y] = MapaLog[x][y]; //+ Algorith_Inverse(poseX, poseY, x, y, z);        
         
     }
+    */
 
 }