test_models: remove body standstill exception (#29453)

* remove body exception

* bump to master
pull/29446/head
Shane Smiskol 2 years ago committed by GitHub
parent 111b6438c6
commit 3563292e65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      panda
  2. 4
      selfdrive/car/tests/test_models.py

@ -1 +1 @@
Subproject commit 1f475a8affc5270227af18e9c418b5fcd12575b9
Subproject commit aed103d5372d1e5b3fb686d2aa8f111081b37fd0

@ -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

Loading…
Cancel
Save