mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-05 00:05:59 +08:00
Honda: fix controls mismatch for stock PCM configs (#23662)
* Honda: fix controls mismatch for stock PCM configs
* ready to remove
* bump panda
old-commit-hash: 5219554b85
This commit is contained in:
+1
-1
Submodule panda updated: 3ddec2d221...bdb591f5e6
@@ -211,12 +211,6 @@ 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:
|
||||
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