Commit 767f318a authored by roangel's avatar roangel
Browse files

another small bug

parent 3eb83f31
......@@ -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");
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment