Files
StarPilot/selfdrive/car/mock/carcontroller.py
T
Adeeb Shihadeh 428f170f59 car: CarController and CarState are always present (#31925)
* always set

* add mock

* little more

* fix

* fix
old-commit-hash: afc96972c80743378ad0e091d9dca8c216b09298
2024-03-19 14:16:33 -07:00

6 lines
180 B
Python

from openpilot.selfdrive.car.interfaces import CarControllerBase
class CarController(CarControllerBase):
def update(self, CC, CS, now_nanos):
return CC.actuators.copy(), []