car: CarController and CarState are always present (#31925)
* always set
* add mock
* little more
* fix
* fix
old-commit-hash: afc96972c8
pull/32199/head
parent
cd74ed0489
commit
428f170f59
4 changed files with 28 additions and 27 deletions
@ -0,0 +1,5 @@ |
||||
from openpilot.selfdrive.car.interfaces import CarControllerBase |
||||
|
||||
class CarController(CarControllerBase): |
||||
def update(self, CC, CS, now_nanos): |
||||
return CC.actuators.copy(), [] |
@ -0,0 +1,4 @@ |
||||
from openpilot.selfdrive.car.interfaces import CarStateBase |
||||
|
||||
class CarState(CarStateBase): |
||||
pass |
Loading…
Reference in new issue