|
|
@ -8,7 +8,7 @@ from openpilot.selfdrive.car.subaru.values import CAR, GLOBAL_ES_ADDR, SubaruFla |
|
|
|
class CarInterface(CarInterfaceBase): |
|
|
|
class CarInterface(CarInterfaceBase): |
|
|
|
|
|
|
|
|
|
|
|
@staticmethod |
|
|
|
@staticmethod |
|
|
|
def _get_params(ret: structs.CarParams, candidate: CAR, fingerprint, car_fw, experimental_long, docs): |
|
|
|
def _get_params(ret: structs.CarParams, candidate: CAR, fingerprint, car_fw, experimental_long, docs) -> structs.CarParams: |
|
|
|
ret.carName = "subaru" |
|
|
|
ret.carName = "subaru" |
|
|
|
ret.radarUnavailable = True |
|
|
|
ret.radarUnavailable = True |
|
|
|
# for HYBRID CARS to be upstreamed, we need: |
|
|
|
# for HYBRID CARS to be upstreamed, we need: |
|
|
|