From 5c0b5351de33476e7a5fb0cc3843bec2999f05e1 Mon Sep 17 00:00:00 2001 From: zhongchao Date: Thu, 29 Jun 2023 11:34:43 +0800 Subject: [PATCH] [3.3.0] fix bug of amap line problem ,and change the log --- .../datacenter/autopilot/server/AsyncDataToAutopilotServer.kt | 2 +- .../java/com/mogo/eagle/core/function/smp/view/SmallMapView.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/function-impl/mogo-core-function-datacenter/src/main/java/com/mogo/eagle/core/function/datacenter/autopilot/server/AsyncDataToAutopilotServer.kt b/core/function-impl/mogo-core-function-datacenter/src/main/java/com/mogo/eagle/core/function/datacenter/autopilot/server/AsyncDataToAutopilotServer.kt index 9fcbef0a67..97815c2539 100644 --- a/core/function-impl/mogo-core-function-datacenter/src/main/java/com/mogo/eagle/core/function/datacenter/autopilot/server/AsyncDataToAutopilotServer.kt +++ b/core/function-impl/mogo-core-function-datacenter/src/main/java/com/mogo/eagle/core/function/datacenter/autopilot/server/AsyncDataToAutopilotServer.kt @@ -41,7 +41,7 @@ class AsyncDataToAutopilotServer private constructor() : IMoGoTrafficLightListen } override fun onAutopilotStatusResponse(state: Int) { - bizLog(SceneConstant.M_D_C + TAG, "自动驾驶状态变化:$state,准备请求全局路线") + bizLog(SceneConstant.M_D_C + TAG, "自动驾驶状态变化:$state") createSubscribe?.let { if (!it.isDisposed) { bizLog(SceneConstant.M_D_C + TAG, "自动驾驶状态变化,取消前置轨迹请求,间隔2s重新请求底盘轨迹") diff --git a/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/smp/view/SmallMapView.kt b/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/smp/view/SmallMapView.kt index 3aa07d4e19..fa6fa59c1d 100644 --- a/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/smp/view/SmallMapView.kt +++ b/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/smp/view/SmallMapView.kt @@ -132,7 +132,7 @@ class SmallMapView @JvmOverloads constructor( @UiThread fun clearPolyline() { if (mPolyline != null) { - mPolyline!!.points = null + mPolyline!!.points = emptyList() } if (mStartMarker != null) { mStartMarker!!.isVisible = false