From 1cd955328784c6ce96d3ffe10d30878d9a68777b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=A3=E5=AE=8F=E5=AE=87?= Date: Fri, 22 Oct 2021 11:15:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E9=97=AD=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 董宏宇 --- .../module/common/drawer/AdasRecognizedResultDrawer.java | 4 ++-- .../main/java/com/mogo/module/common/drawer/BaseDrawer.java | 5 ++--- .../com/mogo/module/common/drawer/IdentifyDataDrawer.java | 4 ++-- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/modules/mogo-module-common/src/main/java/com/mogo/module/common/drawer/AdasRecognizedResultDrawer.java b/modules/mogo-module-common/src/main/java/com/mogo/module/common/drawer/AdasRecognizedResultDrawer.java index 377c6aab9d..f02e748b39 100644 --- a/modules/mogo-module-common/src/main/java/com/mogo/module/common/drawer/AdasRecognizedResultDrawer.java +++ b/modules/mogo-module-common/src/main/java/com/mogo/module/common/drawer/AdasRecognizedResultDrawer.java @@ -272,9 +272,9 @@ public class AdasRecognizedResultDrawer extends BaseDrawer { } final MogoLatLng renderLoc = new MogoLatLng(recognizedListResult.getLat(), recognizedListResult.getLon()); long cost = TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - start); - Log.d("ADAS动画数据", "cost : " + cost); + //Log.d("ADAS动画数据", "cost : " + cost); final long intervalRef = interval - cost; - Log.d("ADAS动画数据", "最终赋值 : " + intervalRef + " 两帧间隔 : " + interval + " uuid : " + recognizedListResult.getUuid()); + //Log.d("ADAS动画数据", "最终赋值 : " + intervalRef + " 两帧间隔 : " + interval + " uuid : " + recognizedListResult.getUuid()); marker.addDynamicAnchorPosition(renderLoc, (float) recognizedListResult.getHeading(), intervalRef); String carColor = getModelRenderColor(recognizedListResult.getType().getType(), FROM_ADAS, recognizedListResult.getThreatLevel()); marker.setAnchorColor(carColor); diff --git a/modules/mogo-module-common/src/main/java/com/mogo/module/common/drawer/BaseDrawer.java b/modules/mogo-module-common/src/main/java/com/mogo/module/common/drawer/BaseDrawer.java index 080f778d68..7ec534ea69 100644 --- a/modules/mogo-module-common/src/main/java/com/mogo/module/common/drawer/BaseDrawer.java +++ b/modules/mogo-module-common/src/main/java/com/mogo/module/common/drawer/BaseDrawer.java @@ -424,12 +424,11 @@ public class BaseDrawer { */ public long computeAnimDuration(long lastSatelliteTime, long curSatelliteTime) { if (lastSatelliteTime == 0 || curSatelliteTime == 0) { - Log.d("ADAS动画数据", "卫星时间存在错误"); + //Log.d("ADAS动画数据", "卫星时间存在错误"); return 45; } long interval = curSatelliteTime - lastSatelliteTime; - Log.d("ADAS动画数据", "lastSatelliteTime : " + lastSatelliteTime + - " ---- curSatelliteTime : " + curSatelliteTime + " ===== 插值 : " + interval); + //Log.d("ADAS动画数据", "lastSatelliteTime : " + lastSatelliteTime +" ---- curSatelliteTime : " + curSatelliteTime + " ===== 插值 : " + interval); if (interval < 45) { interval = 45; } diff --git a/modules/mogo-module-common/src/main/java/com/mogo/module/common/drawer/IdentifyDataDrawer.java b/modules/mogo-module-common/src/main/java/com/mogo/module/common/drawer/IdentifyDataDrawer.java index ddcb0b0bd3..6becca2485 100644 --- a/modules/mogo-module-common/src/main/java/com/mogo/module/common/drawer/IdentifyDataDrawer.java +++ b/modules/mogo-module-common/src/main/java/com/mogo/module/common/drawer/IdentifyDataDrawer.java @@ -197,9 +197,9 @@ public class IdentifyDataDrawer extends BaseDrawer { } final MogoLatLng renderLoc = new MogoLatLng(recognizedListResult.getLat(), recognizedListResult.getLon()); long cost = TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - start); - Log.d(TAG, "ADAS动画数据 cost : " + cost); + //Log.d(TAG, "ADAS动画数据 cost : " + cost); final long intervalRef = interval - cost; - Log.d(TAG, "ADAS动画数据 最终赋值 : " + intervalRef + " 两帧间隔 : " + interval + " uuid : " + recognizedListResult.getUuid()); + //Log.d(TAG, "ADAS动画数据 最终赋值 : " + intervalRef + " 两帧间隔 : " + interval + " uuid : " + recognizedListResult.getUuid()); marker.addDynamicAnchorPosition(renderLoc, (float) recognizedListResult.getHeading(), intervalRef); String carColor = getModelRenderColor(recognizedListResult.getType().getType(), FROM_ADAS, recognizedListResult.getThreatLevel());