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

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.