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

Function kill_carla

dataset/tools/generate_random_routes.py:293–296  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

291import subprocess
292
293def kill_carla():
294 kill_process = subprocess.Popen('killall -9 -r CarlaUE4-Linux', shell=True)
295 kill_process.wait()
296 time.sleep(5)
297
298def main():
299 carla_path = os.environ["CARLA_ROOT"]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected