ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You just need to change this :
args = parser.parse_args()
to this :
args, unknown = parser.parse_known_args()
According to this stackoverflow question and the argparse doc it can avoid getting an error and it does actually find the arguments given.