[6.7.0][启自驾指引] 添加由于其它原因导致启不了自驾的逻辑判断
This commit is contained in:
@@ -124,12 +124,16 @@ object CallerAutoPilotControlManager {
|
||||
if ((exceptionValue and (1 shl 5)) != 0) {
|
||||
sb.append("档位$")
|
||||
}
|
||||
if ((exceptionValue and (1 shl 6)) != 0 || ((exceptionValue and (1 shl 7)) != 0)) {
|
||||
if ((exceptionValue and (1 shl 6)) != 0) {
|
||||
sb.append("未知$")
|
||||
}
|
||||
if ((exceptionValue and (1 shl 7)) != 0 || ((exceptionValue and (1 shl 8)) != 0)) {
|
||||
if (!sb.contains("$")) {
|
||||
sb.setLength(0)
|
||||
sb.append("轨迹未就绪,请稍后重试")
|
||||
}
|
||||
}
|
||||
|
||||
val voiceText = sb.toString().let { str ->
|
||||
val count = str.count { it == '$' }
|
||||
if (count == 1) {
|
||||
|
||||
Reference in New Issue
Block a user