[添加轨迹加载失败日志]
This commit is contained in:
yangyakun
2024-08-21 19:08:00 +08:00
parent f6d48298b4
commit 3b659cd614

View File

@@ -143,6 +143,16 @@ object OchAutoPilotStatusListenerManager : CallerBase<IOchAutopilotStatusListene
TrajectoryManager.removeDownLoadSuccessLine(lineId)
}
}
when (guardianInfo?.code) {
MogoReport.Code.Error.EMAP.TRA_LOAD_FAILED -> {
OchChainLogManager.writeChainLog("轨迹监控","onAutopilotGuardian() 加载轨迹文件失败", true, OchChainLogManager.EVENT_KEY_INFE_WITH_TRAJECTORY)
}
MogoReport.Code.Error.EMAP.TRA_NOT_EXIST -> {
OchChainLogManager.writeChainLog("轨迹监控","onAutopilotGuardian() 无法找到轨迹文件", true, OchChainLogManager.EVENT_KEY_INFE_WITH_TRAJECTORY)
}
else -> {}
}
M_LISTENERS.forEach {
val listener = it.value
listener.onAutopilotGuardian(guardianInfo)