Bring back Accord 2021 + 2021 Hybrid (#23021)

Co-authored-by: Chris Souers <csouers@gmail.com>
old-commit-hash: 239c7c1d4e7c5b854490bc44f6f4dc252b331cf3
This commit is contained in:
Adeeb Shihadeh
2021-11-23 23:19:11 -08:00
committed by GitHub
parent a919e5721e
commit 89eb02fee4
7 changed files with 95 additions and 10 deletions
+6
View File
@@ -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__":