MCPcopy Create free account
hub / github.com/Robotics-STAR-Lab/H2-Mapping / __init__

Method __init__

mapping/demo/parser.py:7–11  ·  view source on GitHub ↗
(self, vis, **kwargs)

Source from the content-addressed store, hash-verified

5
6class ArgumentParserX(argparse.ArgumentParser):
7 def __init__(self, vis, **kwargs):
8 super().__init__(**kwargs)
9 self.add_argument("config", type=str)
10 if not vis:
11 self.add_argument("-run_ros", '--run_ros', action='store_true', default=False)
12
13 def parse_args(self, args=None, namespace=None):
14 _args = self.parse_known_args(args, namespace)[0]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected