block tesla

This commit is contained in:
Jason Wen
2024-12-15 17:46:57 -05:00
parent a87ff0d33f
commit cc02043f9b
+5
View File
@@ -56,3 +56,8 @@ class MadsParams:
if hyundai_cruise_main_toggleable:
CP.sunnypilotFlags |= HyundaiFlagsSP.LONGITUDINAL_MAIN_CRUISE_TOGGLEABLE.value
CP.safetyConfigs[-1].safetyParam |= Panda.FLAG_HYUNDAI_LONG_MAIN_CRUISE_TOGGLEABLE
# MADS is currently not supported in Tesla due to lack of consistent states to engage controls
# TODO-SP: To enable MADS for Tesla Identify consistent signals for MADS toggling
if CP.carName == "tesla":
self.params.remove("Mads")