[车门、安全带、站点停车]
This commit is contained in:
yangyakun
2026-04-20 16:57:30 +08:00
parent e47fcfcd10
commit 83dd65eb8d
14 changed files with 415 additions and 9 deletions

View File

@@ -50,6 +50,8 @@ import com.mogo.eagle.core.function.call.autopilot.CallerAutoPilotStatusListener
import com.mogo.eagle.core.function.call.autopilot.CallerAutoPilotStatusListenerManager.updateAutoPilotDockerInfo
import com.mogo.eagle.core.function.call.autopilot.CallerAutoPilotStatusListenerManager.updateAutoPilotStatus
import com.mogo.eagle.core.function.call.autopilot.CallerAutoPilotStatusListenerManager.updateAutoPilotStatusFromCan
import com.mogo.eagle.core.function.call.autopilot.CallerAutoPilotStatusListenerManager.updateMiddleDoorOpen
import com.mogo.eagle.core.function.call.autopilot.CallerAutoPilotStatusListenerManager.updateSeatedMenSafetyBeltNotFasten
import com.mogo.eagle.core.function.call.autopilot.CallerAutopilotActionsListenerManager
import com.mogo.eagle.core.function.call.autopilot.CallerAutopilotActionsListenerManager.invokeAutopilotAbility
import com.mogo.eagle.core.function.call.autopilot.CallerAutopilotCarConfigListenerManager.invokeAutopilotCarConfigData
@@ -159,6 +161,7 @@ import prediction2025.Prediction2025
import record_cache.RecordPanelOuterClass
import system_master.SsmInfo
import system_master.SystemStatusInfo
import taskmgr.TmInfo
import vllm.Vlm
import java.io.PrintWriter
import java.io.StringWriter
@@ -344,6 +347,8 @@ class MoGoAdasListenerImpl : OnAdasListener {
) {
if (autopilotState != null) {
updateAutoPilotStatusFromCan(autopilotState.state)
updateMiddleDoorOpen(autopilotState.middleDoorOpen)
updateSeatedMenSafetyBeltNotFasten(autopilotState.seatedMenSafetyBeltNotFasten)
if (AdasManager.getInstance()
.getNodeStateInfo(AdasConstants.NodeName.FSM2024).existState != NodeExistState.NODE_EXIST_NORMAL
) {
@@ -1689,6 +1694,10 @@ class MoGoAdasListenerImpl : OnAdasListener {
taskManagerOriginal(header, data)
}
override fun onAdasTaskManagerStationStopOriginal(header: MessagePad.Header, data: String) {
taskManagerOriginal(header, data)
}
@ChainLog(
linkChainLog = CHAIN_TYPE_SOCKET_AUTOPILOT,
linkCode = CHAIN_SOURCE_ADAS,
@@ -1717,6 +1726,13 @@ class MoGoAdasListenerImpl : OnAdasListener {
CallerTaskListenerManager.invokeRunningTaskInfo(taskId,lineId,taskLocationQueryResponse)
}
/**
* 站点停车消息
*/
override fun onAdasTaskManagerStationStop(stationStopInfo: TmInfo.StationStopInfo?) {
CallerAutoPilotStatusListenerManager.taskmanagerStationStop(stationStopInfo)
}
/**
* 是否可以启动自动驾驶
* 使用方法查看app_ipc_monitoring/uiMainActivity/onAutopilotAbility