fixed bugs
This commit is contained in:
@@ -564,7 +564,7 @@ class MogoPrivateObuManager private constructor() {
|
||||
if (direction == 5) {
|
||||
ttsContent = String.format(ttsContent, "左")
|
||||
alertContent = String.format(alertContent, "左")
|
||||
} else if (direction == 6) else {
|
||||
} else if (direction == 6) {
|
||||
ttsContent = String.format(ttsContent, "右")
|
||||
alertContent = String.format(alertContent, "右")
|
||||
}
|
||||
@@ -593,7 +593,7 @@ class MogoPrivateObuManager private constructor() {
|
||||
ttsContent = WarningTypeEnum.getWarningTts(appId)
|
||||
if (direction == 5) {
|
||||
ttsContent = String.format(ttsContent, "左")
|
||||
} else if (direction == 6) else {
|
||||
} else if (direction == 6) {
|
||||
ttsContent = String.format(ttsContent, "右")
|
||||
}
|
||||
}
|
||||
@@ -615,14 +615,14 @@ class MogoPrivateObuManager private constructor() {
|
||||
// }
|
||||
}
|
||||
|
||||
//盲区预警
|
||||
//盲区预警 TODO
|
||||
WarningTypeEnum.TYPE_USECASE_ID_BSW.useCaseId -> {
|
||||
ttsContent = WarningTypeEnum.getWarningTts(appId)
|
||||
alertContent = WarningTypeEnum.getWarningContent(appId)
|
||||
if (direction == 5) { //左后
|
||||
ttsContent = String.format(ttsContent, "左")
|
||||
alertContent = String.format(alertContent, "左")
|
||||
} else if (direction == 6) else { //右后
|
||||
} else if (direction == 6) { //右后
|
||||
ttsContent = String.format(ttsContent, "右")
|
||||
alertContent = String.format(alertContent, "右")
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ class ObuTestTriggerReceiver : BroadcastReceiver() {
|
||||
val v2vThreatExt =
|
||||
V2vThreatExt(
|
||||
1, 1,
|
||||
ObuConstants.TARGET_CLASSIFICATION.TC_AHEAD_IN_LANE, 1, 1
|
||||
ObuConstants.TARGET_CLASSIFICATION.TC_BEHIND_FAR_RIGHT, 1, 1
|
||||
)
|
||||
cvxV2vThreatIndInfo.ext_info = v2vThreatExt
|
||||
cvxV2vThreatIndInfo.status = obuStatus
|
||||
|
||||
Reference in New Issue
Block a user