diff --git a/pps_ws/src/d_fall_pps/src/ParameterService.cpp b/pps_ws/src/d_fall_pps/src/ParameterService.cpp index 0d5582aaad9ad3e428950318a2258551d2114725..c59e9c5e2f91a9a0e5644eac66d9fa5ecb67ff51 100755 --- a/pps_ws/src/d_fall_pps/src/ParameterService.cpp +++ b/pps_ws/src/d_fall_pps/src/ParameterService.cpp @@ -333,7 +333,7 @@ int main(int argc, char* argv[]) case TYPE_AGENT: { //m_ros_namespace = ros::this_node::getNamespace(); - m_ros_namespace = "/" + std::to_string(agentID_to_follow) + "/" + "ParameterService"; + m_ros_namespace = "/" + std::to_string(my_agentID) + "/" + "ParameterService"; ROS_INFO_STREAM("This Paramter Sercice will load .yaml file parameters into the 'base' namespace: " << m_ros_namespace); break; }