Update interface.py

This commit is contained in:
firestar5683
2025-05-12 00:21:17 -05:00
parent 6d16039cd8
commit 0256906d21
+4
View File
@@ -136,6 +136,10 @@ class CarInterface(CarInterfaceBase):
ret.openpilotLongitudinalControl = True
ret.safetyConfigs[0].safetyParam |= Panda.FLAG_GM_HW_CAM_LONG
# CAM_LONG flag only if camera-capable and conditional_experimental_mode enabled
if candidate in CAMERA_ACC_CAR and getattr(frogpilot_toggles, "conditional_experimental_mode", False):
ret.safetyConfigs[0].safetyParam |= Panda.FLAG_GM_HW_CAM_LONG
elif candidate in SDGM_CAR:
ret.longitudinalTuning.kiV = [0., 0., 0.] # TODO: tuning
ret.experimentalLongitudinalAvailable = False