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

Revision history [back]

You can use ros::removeROSArgs(argc,argv,args) to strip out the command-line options added by ROS. It returns args, an std::vector<std::string> which should contain the program name followed by whatever arguments you passed.