WMI model, fix AngleControl, CornerRadar and ETC. (#246)
This commit is contained in:
@@ -253,7 +253,7 @@ def calibration_incomplete_alert(CP: car.CarParams, CS: car.CarState, sm: messag
|
||||
Priority.LOWEST, VisualAlert.none, AudibleAlert.none, .2)
|
||||
|
||||
def torque_nn_load_alert(CP: car.CarParams, CS: car.CarState, sm: messaging.SubMaster, metric: bool, soft_disable_time: int, personality) -> Alert:
|
||||
model_name = Params().get("NNFFModelName", encoding='utf-8')
|
||||
model_name = Params().get("NNFFModelName")
|
||||
if model_name == "":
|
||||
return Alert(
|
||||
"NNFF Torque Controller not available",
|
||||
|
||||
@@ -253,7 +253,7 @@ def calibration_incomplete_alert(CP: car.CarParams, CS: car.CarState, sm: messag
|
||||
Priority.LOWEST, VisualAlert.none, AudibleAlert.none, .2)
|
||||
|
||||
def torque_nn_load_alert(CP: car.CarParams, CS: car.CarState, sm: messaging.SubMaster, metric: bool, soft_disable_time: int, personality) -> Alert:
|
||||
model_name = Params().get("NNFFModelName", encoding='utf-8')
|
||||
model_name = Params().get("NNFFModelName")
|
||||
if model_name == "":
|
||||
return Alert(
|
||||
"NNFF扭矩控制器不可用",
|
||||
|
||||
Reference in New Issue
Block a user