|
|
@ -237,7 +237,6 @@ 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() |
|
|
|
checks['cruiseState'] += CS.cruiseState.enabled and not CS.cruiseState.available |
|
|
|
|
|
|
|
if self.CP.carName not in ("hyundai", "volkswagen", "body"): |
|
|
|
if self.CP.carName not in ("hyundai", "volkswagen", "body"): |
|
|
|
# TODO: fix standstill mismatches for other makes |
|
|
|
# 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() |
|
|
|