From 659ad4ff4797dd094efd7dc52f603fbccf293d49 Mon Sep 17 00:00:00 2001 From: beuchatp <beuchatp@control.ee.ethz.ch> Date: Mon, 4 Dec 2017 14:47:13 +0100 Subject: [PATCH] Fixed small bug in parameter sercice --- pps_ws/src/d_fall_pps/src/ParameterService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pps_ws/src/d_fall_pps/src/ParameterService.cpp b/pps_ws/src/d_fall_pps/src/ParameterService.cpp index b499b0a4..38d8803c 100755 --- a/pps_ws/src/d_fall_pps/src/ParameterService.cpp +++ b/pps_ws/src/d_fall_pps/src/ParameterService.cpp @@ -348,7 +348,7 @@ int main(int argc, char* argv[]) // > First: construct a node handle to the coordinator ros::NodeHandle nh_coordinator_for_this_agent = ros::NodeHandle(); // > Second: Subscribe to the "requestLoadControllerYaml" topic - ros::Subscriber requestLoadControllerYamlSubscriber_agent_to_coordinator = nh_coordinator.subscribe("my_GUI/requestLoadControllerYaml", 1, requestLoadControllerYamlCallback); + ros::Subscriber requestLoadControllerYamlSubscriber_agent_to_coordinator = nh_coordinator_for_this_agent.subscribe("my_GUI/requestLoadControllerYaml", 1, requestLoadControllerYamlCallback); // Inform the user what was subscribed to: ROS_INFO_STREAM("This Parameter Service has subscribed to 'requestLoadControllerYaml' messages from both the 'my_GUI' and the 'PPSClient'"); -- GitLab