close route overlay log and fix draw data of route to pb style

This commit is contained in:
zhongchao
2022-04-06 18:56:03 +08:00
parent 4f7cf8608e
commit e1508a3f0f
14 changed files with 49 additions and 187 deletions

View File

@@ -1,7 +1,6 @@
package com.mogo.eagle.core.function.call.autopilot
import androidx.annotation.Nullable
import com.mogo.eagle.core.data.autopilot.ADASTrajectoryInfo
import com.mogo.eagle.core.function.api.autopilot.IMoGoAutopilotPlanningListener
import com.mogo.eagle.core.function.call.base.CallerBase
import mogo.telematics.pad.MessagePad
@@ -18,7 +17,6 @@ object CallerAutopilotPlanningListenerManager : CallerBase() {
private val M_AUTOPILOT_PLANNING_LISTENER: ConcurrentHashMap<String, IMoGoAutopilotPlanningListener> =
ConcurrentHashMap()
/**
* 添加监听
* @param tag 标记,用来注销监听使用
@@ -62,7 +60,7 @@ object CallerAutopilotPlanningListenerManager : CallerBase() {
* @param trajectoryInfo 自动驾驶状态信息
*/
@Synchronized
fun invokeAutopilotTrajectory(trajectoryInfo: ArrayList<ADASTrajectoryInfo>) {
fun invokeAutopilotTrajectory(trajectoryInfo: MutableList<MessagePad.TrajectoryPoint>) {
M_AUTOPILOT_PLANNING_LISTENER.forEach {
val tag = it.key
val listener = it.value