From 4e96e7d5a979e5151ce0ee8402bf4cb0e7c882ab Mon Sep 17 00:00:00 2001 From: Cyrill Burgener <bucyril@student.ethz.ch> Date: Tue, 6 Jun 2017 14:30:37 +0200 Subject: [PATCH] fixed an idiotic error --- pps_ws/src/d_fall_pps/src/PPSClient.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pps_ws/src/d_fall_pps/src/PPSClient.cpp b/pps_ws/src/d_fall_pps/src/PPSClient.cpp index 63d4ec45..53977984 100755 --- a/pps_ws/src/d_fall_pps/src/PPSClient.cpp +++ b/pps_ws/src/d_fall_pps/src/PPSClient.cpp @@ -157,15 +157,13 @@ void viconCallback(const ViconData& viconData) { void loadParameters(ros::NodeHandle& nodeHandle) { if(!nodeHandle.getParam("studentID", studentID)) { ROS_ERROR("Failed to get studentID"); - studentID = 5; } } void loadCrazyflieContext() { CMQuery contextCall; contextCall.request.studentID = studentID; - studentID = 5; - ROS_INFO_STREAM("myID:" << studentID); + ROS_INFO_STREAM("StudentID:" << studentID); centralManager.waitForExistence(ros::Duration(-1)); -- GitLab