ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
For the moment I solved the problem with a hack
std::string tmp; std::vector<std::string> names; n_param_.getParam ( "names", tmp); boost::erase_all(tmp, " "); boost::split ( names, tmp, boost::is_any_of(","));
2 | No.2 Revision |
For the moment I solved the problem with a hack
std::string tmp;
std::vector<std::string> names;
n_param_.getParam ( "names", tmp);
boost::erase_all(tmp, " ");
boost::split ( names, tmp, 3 | No.3 Revision |
For the moment I solved the problem with a hack
std::string tmp;
std::vector<std::string> names;
n_param_.getParam ( "names", tmp);
boost::erase_all(tmp, " ");
boost::split ( names, tmp, boost::is_any_of(","));
now I can read it with _names:="max, susi"