From edcf37b6fb1080f63d3dd1f0c865db6a5865cadb Mon Sep 17 00:00:00 2001 From: xinfengkun Date: Thu, 16 Feb 2023 16:07:31 +0800 Subject: [PATCH] =?UTF-8?q?[2.14.0][adas=20lib]=E4=BF=AE=E5=A4=8D=E7=AC=AC?= =?UTF-8?q?=E4=BA=8C=E6=AC=A1=E5=90=AF=E5=8A=A8=E8=87=AA=E9=A9=BE=E8=B5=B7?= =?UTF-8?q?=E4=B8=8D=E6=9D=A5=E9=97=AE=E9=A2=98=EF=BC=8C=E5=A6=82=E6=9E=9C?= =?UTF-8?q?=E7=AC=AC=E4=B8=80=E6=AC=A1=E4=B8=8B=E5=8F=91=E4=BA=86=E5=90=AF?= =?UTF-8?q?=E5=8A=A8=E8=87=AA=E5=8A=A8=E9=A9=BE=E9=A9=B6=EF=BC=8C=E6=B2=A1?= =?UTF-8?q?=E8=B5=B7=E6=9D=A5=E6=88=96=E8=80=85=E5=AD=98=E5=9C=A8=E5=B9=B2?= =?UTF-8?q?=E9=A2=84=20=E6=AD=A4=E6=97=B6systemState=E6=98=AFAUTO=5FPILOT?= =?UTF-8?q?=5FSTARTING=20=E9=9C=80=E8=A6=81=E4=BA=8C=E6=AC=A1=E4=B8=8B?= =?UTF-8?q?=E5=8F=91=E5=90=AF=E5=8A=A8=E8=87=AA=E9=A9=BE=E5=91=BD=E4=BB=A4?= =?UTF-8?q?=20=E6=89=80=E4=BB=A5=E9=9C=80=E8=A6=81=E6=8E=92=E9=99=A4?= =?UTF-8?q?=E6=AD=A4=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../support/adas/high/common/AutopilotAbilityManager.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libraries/mogo-adas/src/main/java/com/zhidao/support/adas/high/common/AutopilotAbilityManager.java b/libraries/mogo-adas/src/main/java/com/zhidao/support/adas/high/common/AutopilotAbilityManager.java index 0e9ebd13de..934654dd80 100644 --- a/libraries/mogo-adas/src/main/java/com/zhidao/support/adas/high/common/AutopilotAbilityManager.java +++ b/libraries/mogo-adas/src/main/java/com/zhidao/support/adas/high/common/AutopilotAbilityManager.java @@ -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) {