From 77817dbd50f46b32325a5a669325fd67a1f936a6 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Tue, 19 Jan 2021 14:22:50 -0800 Subject: [PATCH] update VW and nissan test routes old-commit-hash: 13ea3ccf6dd2108d16e2d520c8e1b3bf9bf7851d --- .../test/process_replay/process_replay.py | 4 +++- selfdrive/test/process_replay/ref_commit | 2 +- .../test/process_replay/test_processes.py | 24 +++++++++---------- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/selfdrive/test/process_replay/process_replay.py b/selfdrive/test/process_replay/process_replay.py index 9f0c9f273a..29f307b4de 100755 --- a/selfdrive/test/process_replay/process_replay.py +++ b/selfdrive/test/process_replay/process_replay.py @@ -342,7 +342,9 @@ def python_replay_process(cfg, lr): for msg in lr: if msg.which() == 'carParams': # TODO: get a stock VW route - if "Generic Volkswagen" not in msg.carParams.carFingerprint: + if "Generic Volkswagen" in msg.carParams.carFingerprint: + os.environ['FINGERPRINT'] = "VOLKSWAGEN GOLF" + else: os.environ['FINGERPRINT'] = msg.carParams.carFingerprint break diff --git a/selfdrive/test/process_replay/ref_commit b/selfdrive/test/process_replay/ref_commit index 026bc9742c..c8a799c3db 100644 --- a/selfdrive/test/process_replay/ref_commit +++ b/selfdrive/test/process_replay/ref_commit @@ -1 +1 @@ -9ffa2b9927f188bdc07be62b2cc4ee00e5632522 \ No newline at end of file +a18c174b26415b0f2b6a865ff661447a9f425c04 \ No newline at end of file diff --git a/selfdrive/test/process_replay/test_processes.py b/selfdrive/test/process_replay/test_processes.py index bb5a550ad3..5a2d431717 100755 --- a/selfdrive/test/process_replay/test_processes.py +++ b/selfdrive/test/process_replay/test_processes.py @@ -12,24 +12,22 @@ from tools.lib.logreader import LogReader INJECT_MODEL = 0 segments = [ - ("HYUNDAI", "02c45f73a2e5c6e9|2021-01-01--19-08-22--1"), # HYUNDAI.SONATA - ("TOYOTA", "0982d79ebb0de295|2021-01-04--17-13-21--13"), # TOYOTA.PRIUS (INDI) - ("TOYOTA", "0982d79ebb0de295|2021-01-03--20-03-36--6"), # TOYOTA.RAV4 (LQR) - ("HONDA", "0982d79ebb0de295|2021-01-08--10-13-10--6"), # HONDA.CIVIC (NIDEC) - ("HONDA", "a8e8bf6a3864361b|2021-01-04--03-01-18--2"), # HONDA.ACCORD (BOSCH) - ("CHRYSLER", "52d86230ee29aa84|2021-01-10--17-16-34--30"), # CHRYSLER.PACIFICA - ("SUBARU", "4d70bc5e608678be|2021-01-15--17-02-04--5"), # SUBARU.IMPREZA - ("GM", "ae3ed0eb20960a20|2021-01-15--15-04-06--8"), # GM.VOLT - - # TODO: update this route - ("VOLKSWAGEN", "76b83eb0245de90e|2020-03-05--19-16-05--3"), # VW.GOLF - ("NISSAN", "fbbfa6af821552b9|2020-03-03--08-09-43--0"), # NISSAN.XTRAIL + ("HYUNDAI", "02c45f73a2e5c6e9|2021-01-01--19-08-22--1"), # HYUNDAI.SONATA + ("TOYOTA", "0982d79ebb0de295|2021-01-04--17-13-21--13"), # TOYOTA.PRIUS (INDI) + ("TOYOTA", "0982d79ebb0de295|2021-01-03--20-03-36--6"), # TOYOTA.RAV4 (LQR) + ("HONDA", "0982d79ebb0de295|2021-01-08--10-13-10--6"), # HONDA.CIVIC (NIDEC) + ("HONDA", "a8e8bf6a3864361b|2021-01-04--03-01-18--2"), # HONDA.ACCORD (BOSCH) + ("CHRYSLER", "52d86230ee29aa84|2021-01-10--17-16-34--30"), # CHRYSLER.PACIFICA + ("SUBARU", "4d70bc5e608678be|2021-01-15--17-02-04--5"), # SUBARU.IMPREZA + ("GM", "ae3ed0eb20960a20|2021-01-15--15-04-06--8"), # GM.VOLT + ("NISSAN", "e4d79cf6b8b19a0d|2021-01-17--14-48-08--7"), # NISSAN.XTRAIL + ("VOLKSWAGEN", "18105fc8427a07e1|2021-01-18--21-24-08--12"), # VW.GOLF # Enable when port is tested and dascamOnly is no longer set #("MAZDA", "32a319f057902bb3|2020-04-27--15-18-58--2"), # MAZDA.CX5 ] -# ford doesn't need to be tested until a full port is done +# dashcamOnly makes don't need to be tested until a full port is done excluded_interfaces = ["mock", "ford", "mazda"] BASE_URL = "https://commadataci.blob.core.windows.net/openpilotci/"