mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-22 08:43:54 +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__":
|
||||
|
||||
Reference in New Issue
Block a user