ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 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(","));

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(","));

boost::is_any_of(","));

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"