From 1b566f72d0dd19dcd9ef66ec7749b9e89eb0c2cb Mon Sep 17 00:00:00 2001
From: jcasals <jcasals@iri.upc.edu>
Date: Thu, 24 Oct 2019 15:19:12 +0200
Subject: [PATCH] Removed shortcut to set angles to radians; now it is properly
 set at config time

---
 src/icp.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/icp.cpp b/src/icp.cpp
index c6b1b08..c137f9b 100644
--- a/src/icp.cpp
+++ b/src/icp.cpp
@@ -27,9 +27,9 @@ public:
             ++i;
         }
 
-        for(int i = 0; i < num_rays; ++i){
-            laser_data->theta[i] = laser_data->theta[i] * 0.0175;
-        }
+        // for(int i = 0; i < num_rays; ++i){
+        //     laser_data->theta[i] = laser_data->theta[i] * 0.0175;
+        // }
         laser_data->min_theta = laser_data->theta[0];
         laser_data->max_theta = laser_data->theta[num_rays-1];
 
-- 
GitLab