From 54cd2a6ed2a07d6bb1065180a93ebc8bf2726a8e Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Sat, 3 Aug 2024 21:14:48 -0700 Subject: [PATCH] rerun: misc fixups --- tools/rerun/run.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/rerun/run.py b/tools/rerun/run.py index 6d9554038c69de..955aa2707f7e69 100755 --- a/tools/rerun/run.py +++ b/tools/rerun/run.py @@ -15,7 +15,7 @@ NUM_CPUS = multiprocessing.cpu_count() DEMO_ROUTE = "a2a0ccea32023010|2023-07-27--13-01-19" RR_TIMELINE_NAME = "Timeline" -RR_WIN = "rerun_test" +RR_WIN = "openpilot logs" """ @@ -144,10 +144,10 @@ def load_data(self): parser = argparse.ArgumentParser(description="A helper to run rerun on openpilot routes", formatter_class=argparse.ArgumentDefaultsHelpFormatter) parser.add_argument("--demo", action="store_true", help="Use the demo route instead of providing one") - parser.add_argument("--qcam", action="store_true", help="Log decimated driving camera") - parser.add_argument("--fcam", action="store_true", help="Log driving camera") - parser.add_argument("--ecam", action="store_true", help="Log wide camera") - parser.add_argument("--dcam", action="store_true", help="Log driver monitoring camera") + parser.add_argument("--qcam", action="store_true", help="Show low-res road camera") + parser.add_argument("--fcam", action="store_true", help="Show driving camera") + parser.add_argument("--ecam", action="store_true", help="Show wide camera") + parser.add_argument("--dcam", action="store_true", help="Show driver monitoring camera") parser.add_argument("--print_services", action="store_true", help="List out openpilot services") parser.add_argument("--services", default=[], nargs='*', help="Specify openpilot services that will be logged.\ No service will be logged if not specified.\ @@ -173,7 +173,7 @@ def load_data(self): print("You're requesting more than 10 segments of the route, " + \ "please be aware that might take a lot of memory") response = input("Do you wish to continue? (Y/n): ") - if response.strip() != "Y": + if response.strip().lower() != "y": sys.exit() rerunner = Rerunner(r, sr, camera_config, args.services)