From 767f318afc819eb28e689533de4c39f4f3504285 Mon Sep 17 00:00:00 2001
From: Angel <roangel@student.ethz.ch>
Date: Wed, 20 Sep 2017 17:30:19 +0200
Subject: [PATCH] another small bug

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

diff --git a/pps_ws/src/d_fall_pps/src/FollowN_1Service.cpp b/pps_ws/src/d_fall_pps/src/FollowN_1Service.cpp
index 355d02cb..67e4800c 100644
--- a/pps_ws/src/d_fall_pps/src/FollowN_1Service.cpp
+++ b/pps_ws/src/d_fall_pps/src/FollowN_1Service.cpp
@@ -219,10 +219,10 @@ int main(int argc, char* argv[]) {
     loadParameters(nodeHandle);
 
     int student_id;
-    std::string namespace = ros::this_node::getNamespace();
-    ros::NodeHandle PPSClient_nodeHandle(namespace + "/PPSClient");
+    std::string m_namespace = ros::this_node::getNamespace();
+    ros::NodeHandle PPSClient_nodeHandle(m_namespace + "/PPSClient");
 
-    if(!namespace_nodeHandle.getParam("studentID", student_id))
+    if(!PPSClient_nodeHandle.getParam("studentID", student_id))
     {
 		ROS_ERROR("Failed to get studentID from FollowN_1Service");
 	}
-- 
GitLab