diff --git a/.github/workflows/selfdrive_tests.yaml b/.github/workflows/selfdrive_tests.yaml index 9679e27640..c5bcf9162b 100644 --- a/.github/workflows/selfdrive_tests.yaml +++ b/.github/workflows/selfdrive_tests.yaml @@ -317,7 +317,7 @@ jobs: FILEREADER_CACHE=1 CI=1 coverage run selfdrive/test/process_replay/test_processes.py && \ coverage xml" - name: Upload reference logs - if: ${{ failure() && github.event_name == 'pull_request' && github.repository == 'commaai/openpilot' }} + if: ${{ failure() && github.event_name == 'pull_request' && github.repository == 'commaai/openpilot' && (github.event.issue.author_association == 'OWNER' || github.event.issue.author_association == 'MEMBER') }} run: | ${{ env.RUN }} "scons -j$(nproc) && \ CI=1 AZURE_TOKEN='${{ secrets.AZURE_COMMADATACI_OPENPILOTCI_TOKEN }}' python selfdrive/test/process_replay/update_refs.py" diff --git a/selfdrive/car/toyota/interface.py b/selfdrive/car/toyota/interface.py index 433058b3c0..c2e66dd09c 100644 --- a/selfdrive/car/toyota/interface.py +++ b/selfdrive/car/toyota/interface.py @@ -136,7 +136,7 @@ class CarInterface(CarInterfaceBase): ret.steerRatio = 13.9 tire_stiffness_factor = 0.444 # not optimized yet ret.mass = 3060. * CV.LB_TO_KG + STD_CARGO_KG - set_lat_tune(ret.lateralTuning, LatTunes.TORQUE, MAX_LAT_ACCEL=2.0, FRICTION=0.07) + set_lat_tune(ret.lateralTuning, LatTunes.TORQUE, MAX_LAT_ACCEL=2.5, FRICTION=0.07) elif candidate in (CAR.LEXUS_ES_TSS2, CAR.LEXUS_ESH_TSS2, CAR.LEXUS_ESH): stop_and_go = True diff --git a/selfdrive/test/process_replay/test_processes.py b/selfdrive/test/process_replay/test_processes.py index aec1692cc7..d934d5ea69 100755 --- a/selfdrive/test/process_replay/test_processes.py +++ b/selfdrive/test/process_replay/test_processes.py @@ -32,19 +32,19 @@ original_segments = [ ] segments = [ - ("BODY", "bd6a637565e91581|2022-04-04--22-05-08--0"), - ("HYUNDAI", "fakedata|2022-01-20--17-49-04--0"), - ("TOYOTA", "fakedata|2022-04-29--15-57-12--0"), - ("TOYOTA2", "fakedata|2022-04-29--16-08-01--0"), + # ("BODY", "bd6a637565e91581|2022-04-04--22-05-08--0"), + # ("HYUNDAI", "fakedata|2022-01-20--17-49-04--0"), + # ("TOYOTA", "fakedata|2022-04-29--15-57-12--0"), + # ("TOYOTA2", "fakedata|2022-04-29--16-08-01--0"), ("TOYOTA3", "fakedata|2022-04-29--16-17-39--0"), - ("HONDA", "fakedata|2022-01-20--17-56-40--0"), - ("HONDA2", "fakedata|2022-04-29--16-31-55--0"), - ("CHRYSLER", "fakedata|2022-01-20--18-00-11--0"), - ("SUBARU", "fakedata|2022-01-20--18-01-57--0"), - ("GM", "fakedata|2022-01-20--18-03-41--0"), - ("NISSAN", "fakedata|2022-01-20--18-05-29--0"), - ("VOLKSWAGEN", "fakedata|2022-01-20--18-07-15--0"), - ("MAZDA", "fakedata|2022-01-20--18-09-32--0"), + # ("HONDA", "fakedata|2022-01-20--17-56-40--0"), + # ("HONDA2", "fakedata|2022-04-29--16-31-55--0"), + # ("CHRYSLER", "fakedata|2022-01-20--18-00-11--0"), + # ("SUBARU", "fakedata|2022-01-20--18-01-57--0"), + # ("GM", "fakedata|2022-01-20--18-03-41--0"), + # ("NISSAN", "fakedata|2022-01-20--18-05-29--0"), + # ("VOLKSWAGEN", "fakedata|2022-01-20--18-07-15--0"), + # ("MAZDA", "fakedata|2022-01-20--18-09-32--0"), ] # dashcamOnly makes don't need to be tested until a full port is done @@ -53,7 +53,7 @@ excluded_interfaces = ["mock", "ford", "mazda", "tesla"] BASE_URL = "https://commadataci.blob.core.windows.net/openpilotci/" # run the full test (including checks) when no args given -FULL_TEST = len(sys.argv) <= 1 +FULL_TEST = False # len(sys.argv) <= 1 def test_process(cfg, lr, cmp_log_fn, ignore_fields=None, ignore_msgs=None):