MCPcopy Create free account
hub / github.com/OpenDriveLab/DriveAdapter / run

Method run

scenario_runner/scenario_runner.py:477–490  ·  view source on GitHub ↗

Run all scenarios according to provided commandline args

(self)

Source from the content-addressed store, hash-verified

475 return result
476
477 def run(self):
478 """
479 Run all scenarios according to provided commandline args
480 """
481 result = True
482 if self._args.openscenario:
483 result = self._run_openscenario()
484 elif self._args.route:
485 result = self._run_route()
486 else:
487 result = self._run_scenarios()
488
489 print("No more scenarios .... Exiting")
490 return result
491
492
493def main():

Callers 2

mainFunction · 0.95
custom_train_detectorFunction · 0.45

Calls 3

_run_openscenarioMethod · 0.95
_run_routeMethod · 0.95
_run_scenariosMethod · 0.95

Tested by

no test coverage detected