mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 08:53:54 +08:00
test_models: remove body standstill exception (#29453)
* remove body exception
* bump to master
old-commit-hash: 3563292e65
This commit is contained in:
2
panda
2
panda
Submodule panda updated: 1f475a8aff...aed103d537
@@ -322,9 +322,7 @@ class TestCarModelBase(unittest.TestCase):
|
||||
# TODO: check rest of panda's carstate (steering, ACC main on, etc.)
|
||||
|
||||
checks['gasPressed'] += CS.gasPressed != self.safety.get_gas_pressed_prev()
|
||||
if self.CP.carName not in ("body",):
|
||||
# TODO: fix standstill mismatches for other makes
|
||||
checks['standstill'] += CS.standstill == self.safety.get_vehicle_moving()
|
||||
checks['standstill'] += CS.standstill == self.safety.get_vehicle_moving()
|
||||
|
||||
# TODO: remove this exception once this mismatch is resolved
|
||||
brake_pressed = CS.brakePressed
|
||||
|
||||
Reference in New Issue
Block a user