|
|
@ -63,7 +63,7 @@ class CarInterface(CarInterfaceBase): |
|
|
|
if candidate in CAMERA_ACC_CAR: |
|
|
|
if candidate in CAMERA_ACC_CAR: |
|
|
|
ret.experimentalLongitudinalAvailable = True |
|
|
|
ret.experimentalLongitudinalAvailable = True |
|
|
|
ret.networkLocation = NetworkLocation.fwdCamera |
|
|
|
ret.networkLocation = NetworkLocation.fwdCamera |
|
|
|
ret.radarOffCan = True # no radar |
|
|
|
ret.radarUnavailable = True # no radar |
|
|
|
ret.pcmCruise = True |
|
|
|
ret.pcmCruise = True |
|
|
|
ret.safetyConfigs[0].safetyParam |= Panda.FLAG_GM_HW_CAM |
|
|
|
ret.safetyConfigs[0].safetyParam |= Panda.FLAG_GM_HW_CAM |
|
|
|
ret.minEnableSpeed = 5 * CV.KPH_TO_MS |
|
|
|
ret.minEnableSpeed = 5 * CV.KPH_TO_MS |
|
|
@ -85,7 +85,7 @@ class CarInterface(CarInterfaceBase): |
|
|
|
else: # ASCM, OBD-II harness |
|
|
|
else: # ASCM, OBD-II harness |
|
|
|
ret.openpilotLongitudinalControl = True |
|
|
|
ret.openpilotLongitudinalControl = True |
|
|
|
ret.networkLocation = NetworkLocation.gateway |
|
|
|
ret.networkLocation = NetworkLocation.gateway |
|
|
|
ret.radarOffCan = False |
|
|
|
ret.radarUnavailable = False |
|
|
|
ret.pcmCruise = False # stock non-adaptive cruise control is kept off |
|
|
|
ret.pcmCruise = False # stock non-adaptive cruise control is kept off |
|
|
|
# supports stop and go, but initial engage must (conservatively) be above 18mph |
|
|
|
# supports stop and go, but initial engage must (conservatively) be above 18mph |
|
|
|
ret.minEnableSpeed = 18 * CV.MPH_TO_MS |
|
|
|
ret.minEnableSpeed = 18 * CV.MPH_TO_MS |
|
|
|