|
|
|
|
@@ -4,18 +4,18 @@ import chassis.VehicleStateOuterClass
|
|
|
|
|
import com.mogo.eagle.core.data.autopilot.ADASTrajectoryInfo
|
|
|
|
|
import com.mogo.eagle.core.data.config.FunctionBuildConfig
|
|
|
|
|
import com.mogo.eagle.core.data.config.HdMapBuildConfig
|
|
|
|
|
import com.mogo.eagle.core.data.deva.chain.ChainConstant.Companion.CHAIN_ALIAS_CODE_ADAS_MESSAGE_AUTOPILOT_ARRIVE
|
|
|
|
|
import com.mogo.eagle.core.data.deva.chain.ChainConstant.Companion.CHAIN_ALIAS_CODE_ADAS_MESSAGE_AUTOPILOT_GUARDIAN
|
|
|
|
|
import com.mogo.eagle.core.data.deva.chain.ChainConstant.Companion.CHAIN_ALIAS_CODE_ADAS_MESSAGE_AUTOPILOT_RECORD
|
|
|
|
|
import com.mogo.eagle.core.data.deva.chain.ChainConstant.Companion.CHAIN_ALIAS_CODE_ADAS_MESSAGE_AUTOPILOT_ROUTE
|
|
|
|
|
import com.mogo.eagle.core.data.deva.chain.ChainConstant.Companion.CHAIN_ALIAS_CODE_ADAS_MESSAGE_AUTOPILOT_STATUS
|
|
|
|
|
import com.mogo.eagle.core.data.deva.chain.ChainConstant.Companion.CHAIN_ALIAS_CODE_ADAS_MESSAGE_AUTOPILOT_TRAJECTORY
|
|
|
|
|
import com.mogo.eagle.core.data.deva.chain.ChainConstant.Companion.CHAIN_ALIAS_CODE_ADAS_MESSAGE_AUTOPILOT_WARN
|
|
|
|
|
import com.mogo.eagle.core.data.deva.chain.ChainConstant.Companion.CHAIN_ALIAS_CODE_ADAS_MESSAGE_CAR_STATE
|
|
|
|
|
import com.mogo.eagle.core.data.deva.chain.ChainConstant.Companion.CHAIN_ALIAS_CODE_ADAS_MESSAGE_RECT_DATA
|
|
|
|
|
import com.mogo.eagle.core.data.deva.chain.ChainConstant.Companion.CHAIN_LINK_ADAS
|
|
|
|
|
import com.mogo.eagle.core.data.deva.chain.ChainConstant.Companion.CHAIN_LINK_LOG_WEB_SOCKET_DATA
|
|
|
|
|
import com.mogo.eagle.core.data.deva.scene.SceneConstant.Companion.M_ADAS
|
|
|
|
|
import com.mogo.eagle.core.data.chain.ChainConstant.Companion.CHAIN_ALIAS_CODE_ADAS_MESSAGE_AUTOPILOT_ARRIVE
|
|
|
|
|
import com.mogo.eagle.core.data.chain.ChainConstant.Companion.CHAIN_ALIAS_CODE_ADAS_MESSAGE_AUTOPILOT_GUARDIAN
|
|
|
|
|
import com.mogo.eagle.core.data.chain.ChainConstant.Companion.CHAIN_ALIAS_CODE_ADAS_MESSAGE_AUTOPILOT_RECORD
|
|
|
|
|
import com.mogo.eagle.core.data.chain.ChainConstant.Companion.CHAIN_ALIAS_CODE_ADAS_MESSAGE_AUTOPILOT_ROUTE
|
|
|
|
|
import com.mogo.eagle.core.data.chain.ChainConstant.Companion.CHAIN_ALIAS_CODE_ADAS_MESSAGE_AUTOPILOT_STATUS
|
|
|
|
|
import com.mogo.eagle.core.data.chain.ChainConstant.Companion.CHAIN_ALIAS_CODE_ADAS_MESSAGE_AUTOPILOT_TRAJECTORY
|
|
|
|
|
import com.mogo.eagle.core.data.chain.ChainConstant.Companion.CHAIN_ALIAS_CODE_ADAS_MESSAGE_AUTOPILOT_WARN
|
|
|
|
|
import com.mogo.eagle.core.data.chain.ChainConstant.Companion.CHAIN_ALIAS_CODE_ADAS_MESSAGE_CAR_STATE
|
|
|
|
|
import com.mogo.eagle.core.data.chain.ChainConstant.Companion.CHAIN_ALIAS_CODE_ADAS_MESSAGE_RECT_DATA
|
|
|
|
|
import com.mogo.eagle.core.data.chain.ChainConstant.Companion.CHAIN_LINK_ADAS
|
|
|
|
|
import com.mogo.eagle.core.data.chain.ChainConstant.Companion.CHAIN_LINK_LOG_WEB_SOCKET_DATA
|
|
|
|
|
import com.mogo.eagle.core.utilcode.mogo.logger.scene.SceneConstant.Companion.M_ADAS_IMPL
|
|
|
|
|
import com.mogo.eagle.core.function.call.autopilot.CallerAutoPilotStatusListenerManager.getAutoPilotStatusInfo
|
|
|
|
|
import com.mogo.eagle.core.function.call.autopilot.CallerAutoPilotStatusListenerManager.invokeArriveAtStation
|
|
|
|
|
import com.mogo.eagle.core.function.call.autopilot.CallerAutoPilotStatusListenerManager.invokeAutoPilotStatus
|
|
|
|
|
@@ -31,7 +31,7 @@ import com.mogo.eagle.core.function.call.autopilot.CallerAutopilotPlanningListen
|
|
|
|
|
import com.mogo.eagle.core.function.call.autopilot.CallerAutopilotVehicleStateListenerManager
|
|
|
|
|
import com.mogo.eagle.core.function.call.hmi.CallerHmiManager.showAdUpgradeStatus
|
|
|
|
|
import com.mogo.eagle.core.function.call.hmi.CallerHmiManager.showDockerRebootResult
|
|
|
|
|
import com.mogo.eagle.core.function.call.logger.CallerLogger
|
|
|
|
|
import com.mogo.eagle.core.utilcode.mogo.logger.CallerLogger
|
|
|
|
|
import com.mogo.module.common.MogoApisHandler
|
|
|
|
|
import com.mogo.module.common.datacenter.SnapshotLocationDataCenter
|
|
|
|
|
import com.mogo.module.service.MarkerServiceHandler
|
|
|
|
|
@@ -103,7 +103,7 @@ class MoGoAdasListenerImpl : OnAdasListener {
|
|
|
|
|
trackedObjects: MessagePad.TrackedObjects
|
|
|
|
|
) {
|
|
|
|
|
if (HdMapBuildConfig.isMapLoaded) {
|
|
|
|
|
invokeAutopilotIdentifyDataUpdate(trackedObjects.objsList as ArrayList<TrackedObject>?)
|
|
|
|
|
invokeAutopilotIdentifyDataUpdate(trackedObjects.objsList as List<TrackedObject>?)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@@ -280,7 +280,7 @@ class MoGoAdasListenerImpl : OnAdasListener {
|
|
|
|
|
override fun onUpgradeStateInfo(info: IPCUpgradeStateInfo) {
|
|
|
|
|
if (info != null) {
|
|
|
|
|
CallerLogger.d(
|
|
|
|
|
"$M_ADAS$TAG", "onUpgradeStateInfo " +
|
|
|
|
|
"$M_ADAS_IMPL$TAG", "onUpgradeStateInfo " +
|
|
|
|
|
" upgrade mode=" + info.upgradeMode +
|
|
|
|
|
" download status=" + info.downloadStatus +
|
|
|
|
|
" download progress current=" + info.progress.current +
|
|
|
|
|
@@ -293,7 +293,7 @@ class MoGoAdasListenerImpl : OnAdasListener {
|
|
|
|
|
info.progress.total, info.images, info.upgradeStatus
|
|
|
|
|
)
|
|
|
|
|
} else {
|
|
|
|
|
CallerLogger.w("$M_ADAS$TAG", "onUpgradeStateInfo : upgrade state info is null")
|
|
|
|
|
CallerLogger.w("$M_ADAS_IMPL$TAG", "onUpgradeStateInfo : upgrade state info is null")
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@@ -301,7 +301,7 @@ class MoGoAdasListenerImpl : OnAdasListener {
|
|
|
|
|
if (info != null && "docker restart autocar_default_1" == info.cmd) {
|
|
|
|
|
showDockerRebootResult(info.code, info.msg)
|
|
|
|
|
} else {
|
|
|
|
|
CallerLogger.w("$M_ADAS$TAG", "onSSHResult : result info is null")
|
|
|
|
|
CallerLogger.w("$M_ADAS_IMPL$TAG", "onSSHResult : result info is null")
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|