Skip to content
Snippets Groups Projects
Commit 4e96e7d5 authored by Cyrill Burgener's avatar Cyrill Burgener
Browse files

fixed an idiotic error

parent 6965d970
No related branches found
No related tags found
No related merge requests found
...@@ -157,15 +157,13 @@ void viconCallback(const ViconData& viconData) { ...@@ -157,15 +157,13 @@ void viconCallback(const ViconData& viconData) {
void loadParameters(ros::NodeHandle& nodeHandle) { void loadParameters(ros::NodeHandle& nodeHandle) {
if(!nodeHandle.getParam("studentID", studentID)) { if(!nodeHandle.getParam("studentID", studentID)) {
ROS_ERROR("Failed to get studentID"); ROS_ERROR("Failed to get studentID");
studentID = 5;
} }
} }
void loadCrazyflieContext() { void loadCrazyflieContext() {
CMQuery contextCall; CMQuery contextCall;
contextCall.request.studentID = studentID; contextCall.request.studentID = studentID;
studentID = 5; ROS_INFO_STREAM("StudentID:" << studentID);
ROS_INFO_STREAM("myID:" << studentID);
centralManager.waitForExistence(ros::Duration(-1)); centralManager.waitForExistence(ros::Duration(-1));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment