Merge branch 'dev_robotaxi-d-app-module_240_230131_2.14.0' into 'test_robotaxi-d-app-module_240_230131_2.14.0.1'

[2.14.0][adas lib]修复第二次启动自驾起不来问题,如果第一次下发了启动自动驾驶,没起来或者存在干预…

See merge request zhjt/AndroidApp/MoGoEagleEye!533
This commit is contained in:
wangmingjun
2023-02-16 08:15:46 +00:00

View File

@@ -146,7 +146,9 @@ public class AutopilotAbilityManager {
} else if (systemState == SystemStatusInfo.SystemState.SYS_FAULT) {
unableAutopilotReason = "系统异常";
} else if (systemState == SystemStatusInfo.SystemState.AUTO_PILOT_STARTING) {
unableAutopilotReason = "正在开始自动驾驶";
//如果第一次下发了启动自动驾驶,没起来或者存在干预 此时systemState是AUTO_PILOT_STARTING 需要二次下发启动自驾命令 所以需要排除此状态
isAutopilotAbility = true;
//unableAutopilotReason = "正在开始自动驾驶";
} else if (systemState == SystemStatusInfo.SystemState.AUTO_PILOT_RUNNING) {
unableAutopilotReason = "自动驾驶运行中";
} else if (systemState == SystemStatusInfo.SystemState.REMOTE_PILOT_STARTING) {