Skip to content
Snippets Groups Projects
Commit 767f318a authored by Angel's avatar Angel
Browse files

another small bug

parent 3eb83f31
No related branches found
No related tags found
No related merge requests found
......@@ -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");
}
......
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