mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-22 00:33:44 +08:00
Bring back Accord 2021 + 2021 Hybrid (#23021)
Co-authored-by: Chris Souers <csouers@gmail.com> old-commit-hash: 239c7c1d4e7c5b854490bc44f6f4dc252b331cf3
This commit is contained in:
@@ -197,6 +197,12 @@ class TestCarModel(unittest.TestCase):
|
||||
if failed_checks['brakePressed'] < 150:
|
||||
del failed_checks['brakePressed']
|
||||
|
||||
# TODO: use the same signal in panda and carState
|
||||
# tolerate a small delay between the button press and PCM entering a cruise state
|
||||
if self.car_model == HONDA.ACCORD_2021:
|
||||
if failed_checks['controlsAllowed'] < 500:
|
||||
del failed_checks['controlsAllowed']
|
||||
|
||||
self.assertFalse(len(failed_checks), f"panda safety doesn't agree with CarState: {failed_checks}")
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
@@ -53,7 +53,9 @@ routes = [
|
||||
TestRoute("81722949a62ea724|2019-04-06--15-19-25", HONDA.ODYSSEY_CHN),
|
||||
TestRoute("08a3deb07573f157|2020-03-06--16-11-19", HONDA.ACCORD), # 1.5T
|
||||
TestRoute("1da5847ac2488106|2021-05-24--19-31-50", HONDA.ACCORD), # 2.0T
|
||||
TestRoute("085ac1d942c35910|2021-03-25--20-11-15", HONDA.ACCORD_2021), # 2.0T
|
||||
TestRoute("07585b0da3c88459|2021-05-26--18-52-04", HONDA.ACCORDH),
|
||||
TestRoute("f29e2b57a55e7ad5|2021-03-24--20-52-38", HONDA.ACCORDH_2021),
|
||||
TestRoute("1ad763dd22ef1a0e|2020-02-29--18-37-03", HONDA.CRV_5G),
|
||||
TestRoute("0a96f86fcfe35964|2020-02-05--07-25-51", HONDA.ODYSSEY),
|
||||
TestRoute("d83f36766f8012a5|2020-02-05--18-42-21", HONDA.CIVIC_BOSCH_DIESEL),
|
||||
|
||||
Reference in New Issue
Block a user