sunnypilot v2026.002.000

version: sunnypilot v2026.002.000 (staging)
date: 2026-07-21T07:44:02
master commit: 2c334ede443d7391d27575af8c854a095ba702a8
This commit is contained in:
github-actions[bot] committed 2026-07-21 07:44:02 +00:00
commit de77c89cf6
3995 files changed
+1260688

No files matched your search

Whitespace-only changes.
@@ -0,0 +1,6 @@
from opendbc.car.interfaces import CarControllerBase
class CarController(CarControllerBase):
def update(self, CC, CC_SP, CS, now_nanos):
return CC.actuators.as_builder(), []
@@ -0,0 +1,7 @@
from opendbc.car import structs
from opendbc.car.interfaces import CarStateBase
class CarState(CarStateBase):
def update(self, *_) -> tuple[structs.CarState, structs.CarStateSP]:
return structs.CarState(), structs.CarStateSP()
+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/env python3
from opendbc.car import structs
from opendbc.car.interfaces import CarInterfaceBase
from opendbc.car.mock.carcontroller import CarController
from opendbc.car.mock.carstate import CarState
# mocked car interface for dashcam mode
class CarInterface(CarInterfaceBase):
CarState = CarState
CarController = CarController
@staticmethod
def _get_params(ret: structs.CarParams, candidate, fingerprint, car_fw, alpha_long, is_release, docs) -> structs.CarParams:
ret.brand = "mock"
ret.lateralTuning.pid.kpBP = [0.]
ret.lateralTuning.pid.kpV = [0.]
ret.lateralTuning.pid.kiBP = [0.]
ret.lateralTuning.pid.kiV = [0.]
ret.dashcamOnly = True
return ret
+9
View File
@@ -0,0 +1,9 @@
from opendbc.car import CarSpecs, PlatformConfig, Platforms
class CAR(Platforms):
MOCK = PlatformConfig(
[],
CarSpecs(mass=1700, wheelbase=2.7, steerRatio=13),
{}
)