From 4bc0199cdb71ebdd7e31eb520f6ca647a4c37467 Mon Sep 17 00:00:00 2001
From: beuchatp <beuchatp@control.ee.ethz.ch>
Date: Tue, 10 Apr 2018 09:19:11 +0200
Subject: [PATCH] Removed the debug message from PPSClient that the crazyflie
 is inside the threshold

---
 pps_ws/src/d_fall_pps/src/PPSClient.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/pps_ws/src/d_fall_pps/src/PPSClient.cpp b/pps_ws/src/d_fall_pps/src/PPSClient.cpp
index 8f8d560e..bfadefa5 100755
--- a/pps_ws/src/d_fall_pps/src/PPSClient.cpp
+++ b/pps_ws/src/d_fall_pps/src/PPSClient.cpp
@@ -593,7 +593,9 @@ void viconCallback(const ViconData& viconData) {
                         // here, detect if euclidean distance between setpoint and current position is higher than a threshold
                         if(distance > distance_threshold)
                         {
-                            ROS_INFO("inside threshold");
+                            // DEBUGGING: display a message that the crazyflie is inside the thresholds
+                            //ROS_INFO("inside threshold");
+                            // Declare a local variable for the "setpoint message" to be published
                             Setpoint setpoint_msg;
                             // here, where we are now, or where we were in the beginning?
                             setpoint_msg.x = local.x + distance_threshold * unit_vector[0];
-- 
GitLab