From 5dd18c892646f3bcae7f1f519994a64f648819b7 Mon Sep 17 00:00:00 2001
From: beuchatp <beuchatp@control.ee.ethz.ch>
Date: Tue, 5 Dec 2017 07:16:01 +0100
Subject: [PATCH] Added debugging print out of fetched mass parameter

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

diff --git a/pps_ws/src/d_fall_pps/src/CustomControllerService.cpp b/pps_ws/src/d_fall_pps/src/CustomControllerService.cpp
index 8625ffcb..b7f00978 100644
--- a/pps_ws/src/d_fall_pps/src/CustomControllerService.cpp
+++ b/pps_ws/src/d_fall_pps/src/CustomControllerService.cpp
@@ -890,6 +890,9 @@ void fetchYamlParameters(ros::NodeHandle& nodeHandle)
     	ROS_ERROR_STREAM("parameter 'follow_in_a_line_agentIDs' was loaded with two different lengths, " << temp_number_of_agents_in_a_line << " versus " << follow_in_a_line_agentIDs.size() );
     }
 
+    // DEBUGGING: Print out one of the parameters that was loaded
+    ROS_INFO_STREAM("DEBUGGING: the fetched SafeController/mass = " << cf_mass);
+
     // Call the function that computes details an values that are needed from these
     // parameters loaded above
     processFetchedParameters();
-- 
GitLab