增加了异常车辆提醒 全方位预警tts逻辑
This commit is contained in:
@@ -57,8 +57,8 @@ enum class WarningTypeEnum(
|
||||
TYPE_USECASE_ID_AVW(
|
||||
ObuConstants.USE_CASE_ID.AVW,
|
||||
"异常车辆提醒",
|
||||
"前车异常",
|
||||
"小心前方异常车辆",
|
||||
"%s车异常",
|
||||
"小心%s异常车辆",
|
||||
R.drawable.icon_warning_v2x_abnormal_vehicle
|
||||
),
|
||||
TYPE_USECASE_ID_BSW(
|
||||
|
||||
@@ -648,17 +648,8 @@ class MogoPrivateObuManager private constructor() {
|
||||
WarningTypeEnum.TYPE_USECASE_ID_AVW.useCaseId -> {
|
||||
alertContent = WarningTypeEnum.getWarningContent(appId)
|
||||
ttsContent = WarningTypeEnum.getWarningTts(appId)
|
||||
// when (direction) {
|
||||
// 3 -> { //左前
|
||||
// ttsContent = String.format(ttsContent, "左")
|
||||
// }
|
||||
// 4 -> { //右前
|
||||
// ttsContent = String.format(ttsContent, "右")
|
||||
// }
|
||||
// 1 -> { //正前
|
||||
// ttsContent = alertContent
|
||||
// }
|
||||
// }
|
||||
alertContent = String.format(alertContent, direction.desc)
|
||||
ttsContent = String.format(ttsContent, direction.desc)
|
||||
}
|
||||
|
||||
//盲区预警
|
||||
|
||||
Reference in New Issue
Block a user