mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-06 00:36:32 +08:00
test_models: remove body standstill exception (#29453)
* remove body exception
* bump to master
old-commit-hash: 3563292e65
This commit is contained in:
+1
-1
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.)
|
# TODO: check rest of panda's carstate (steering, ACC main on, etc.)
|
||||||
|
|
||||||
checks['gasPressed'] += CS.gasPressed != self.safety.get_gas_pressed_prev()
|
checks['gasPressed'] += CS.gasPressed != self.safety.get_gas_pressed_prev()
|
||||||
if self.CP.carName not in ("body",):
|
checks['standstill'] += CS.standstill == self.safety.get_vehicle_moving()
|
||||||
# TODO: fix standstill mismatches for other makes
|
|
||||||
checks['standstill'] += CS.standstill == self.safety.get_vehicle_moving()
|
|
||||||
|
|
||||||
# TODO: remove this exception once this mismatch is resolved
|
# TODO: remove this exception once this mismatch is resolved
|
||||||
brake_pressed = CS.brakePressed
|
brake_pressed = CS.brakePressed
|
||||||
|
|||||||
Reference in New Issue
Block a user