new demo route (#37456)

This commit is contained in:
Adeeb Shihadeh
2026-02-27 08:04:24 -08:00
committed by GitHub
parent 1bf0fb3851
commit c5372e9041
5 changed files with 81 additions and 32 deletions
+2 -3
View File
@@ -21,7 +21,7 @@ juggle_dir = os.path.dirname(os.path.realpath(__file__))
os.environ['LD_LIBRARY_PATH'] = os.environ.get('LD_LIBRARY_PATH', '') + f":{juggle_dir}/bin/"
DEMO_ROUTE = "a2a0ccea32023010|2023-07-27--13-01-19"
DEMO_ROUTE = "5beb9b58bd12b691/0000010a--a51155e496"
RELEASES_URL = "https://github.com/commaai/PlotJuggler/releases/download/latest"
INSTALL_DIR = os.path.join(juggle_dir, "bin")
PLOTJUGGLER_BIN = os.path.join(juggle_dir, "bin/plotjuggler")
@@ -105,8 +105,7 @@ def juggle_route(route_or_segment_name, can, layout, dbc, should_migrate):
if __name__ == "__main__":
parser = argparse.ArgumentParser(description="A helper to run PlotJuggler on openpilot routes",
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
parser = argparse.ArgumentParser(description="A helper to run PlotJuggler 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("--can", action="store_true", help="Parse CAN data")