From 50a9a54f619bb4b61518dbd30dc92120a319b46e Mon Sep 17 00:00:00 2001 From: renwj Date: Thu, 4 Jan 2024 11:34:17 +0800 Subject: [PATCH] =?UTF-8?q?[6.2.6][V2N]=20=E5=8F=96=E6=B6=88=E8=BF=87?= =?UTF-8?q?=E6=BB=A4=E9=80=BB=E8=BE=91=EF=BC=8C=E7=94=B1-300m=20=E6=94=B9?= =?UTF-8?q?=E6=88=90-200m?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../biz/v2x/v2n/scenario/scene/airoad/AiRoadMarker.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/function-impl/mogo-core-function-biz/src/main/java/com/mogo/eagle/function/biz/v2x/v2n/scenario/scene/airoad/AiRoadMarker.kt b/core/function-impl/mogo-core-function-biz/src/main/java/com/mogo/eagle/function/biz/v2x/v2n/scenario/scene/airoad/AiRoadMarker.kt index d37707a03f..76679558ab 100644 --- a/core/function-impl/mogo-core-function-biz/src/main/java/com/mogo/eagle/function/biz/v2x/v2n/scenario/scene/airoad/AiRoadMarker.kt +++ b/core/function-impl/mogo-core-function-biz/src/main/java/com/mogo/eagle/function/biz/v2x/v2n/scenario/scene/airoad/AiRoadMarker.kt @@ -152,12 +152,12 @@ class AiRoadMarker { V2XBizTrace.onAck("$TAG -marker-4-l2:", l2) val points = LinkedList() if (l2.points.isNotEmpty()) { - points.addAll(l2.points.reversed().filter { + points.addAll(l2.points.reversed()/*.filter { val location = V2XEventManager.getFirstLocationInCross() Log.d(TAG, "l2: location -> $location") if (location != null) { val carLocation = CallerChassisLocationWGS84ListenerManager.getChassisLocationWGS84() - if (DrivingDirectionUtils.getDegreeOfCar2Poi2(location.longitude, location.latitude, carLocation.longitude, carLocation.latitude, location.heading) > 90) { + if (DrivingDirectionUtils.getDegreeOfCar2Poi2(carLocation.longitude, carLocation.latitude, location.longitude, location.latitude, carLocation.heading) > 90) { //处理同一个路口不同车道调头,这种极端情况 true } else { @@ -167,7 +167,7 @@ class AiRoadMarker { } else { true } - }.map { + }.*/.map { MogoLatLng(it.latitude, it.longitude) }) }