From c3badacbbcb3bc3428f465cc328ff15b41fe1a9f Mon Sep 17 00:00:00 2001 From: xuxinchao Date: Mon, 17 Apr 2023 18:30:24 +0800 Subject: [PATCH] =?UTF-8?q?[dev=5Frobobus-d=5F230413=5F3.1.0]fix=E4=B8=8D?= =?UTF-8?q?=E5=A4=84=E4=BA=8E=E5=B9=B3=E8=A1=8C=E9=A9=BE=E9=A9=B6=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E4=B8=8B=E5=BC=B1=E7=BD=91=E4=B9=9F=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E5=B9=B3=E8=A1=8C=E9=A9=BE=E9=A9=B6=E6=8E=A5=E7=AE=A1=E6=9B=B4?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mogo/eagle/core/function/hmi/ui/vehicle/TakeOverView.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/vehicle/TakeOverView.kt b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/vehicle/TakeOverView.kt index 179f964123..42930131e4 100644 --- a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/vehicle/TakeOverView.kt +++ b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/vehicle/TakeOverView.kt @@ -57,7 +57,7 @@ class TakeOverView @JvmOverloads constructor( autopilotStatus = autoPilotStatusInfo.state if(autoPilotStatusInfo.state == 7){ isParallel = true - }else if(autoPilotStatusInfo.state == 2){ + }else if(autoPilotStatusInfo.state == 0 || autoPilotStatusInfo.state == 1){ isParallel = false } Log.i(TAG,"自动驾驶状态${autopilotStatus}") @@ -113,7 +113,7 @@ class TakeOverView @JvmOverloads constructor( MogoReport.Code.Error.EMAP.EPARALLEL_AICLOUD_CONNECTION_ERROR -> { //如果是平行驾驶状态下,提示弱网接管 Log.i(TAG,"弱网时自动驾驶状态:${autopilotStatus}") - if(autopilotStatus == 7 || isParallel){ + if(isParallel){ CallerHmiManager.warningV2X( EventTypeEnumNew.NETWORK_WEAK_EVENT.poiType, EventTypeEnumNew.NETWORK_WEAK_EVENT.content,