[状态栏]优化CAN和RTK状态判断;RTK状态增加文字描述
This commit is contained in:
@@ -190,4 +190,9 @@ interface IMoGoAutopilotProvider : IMoGoFunctionServerProvider {
|
||||
* 或乘客屏解析数据的时间戳
|
||||
*/
|
||||
fun getTeleTimeStamp(): Long
|
||||
|
||||
/**
|
||||
* 主动查询工控机的各topic状态
|
||||
*/
|
||||
fun sendStatusQueryReq()
|
||||
}
|
||||
@@ -3,6 +3,7 @@ package com.mogo.eagle.core.function.api.autopilot
|
||||
import com.mogo.eagle.core.data.autopilot.AutopilotStatusInfo
|
||||
import mogo.telematics.pad.MessagePad
|
||||
import mogo_msg.MogoReportMsg
|
||||
import system_master.*
|
||||
|
||||
/**
|
||||
* @author xiaoyuzhou
|
||||
@@ -41,6 +42,11 @@ interface IMoGoAutopilotStatusListener {
|
||||
fun onAutopilotIpcConnectStatusChanged(status: Int, reason: String?) {}
|
||||
|
||||
|
||||
/**
|
||||
* 工控机主动查询 AdasManager#sendStatusQueryReq(),后会收到如下回调
|
||||
*/
|
||||
fun onAutopilotStatusRespByQuery(status: SystemStatusInfo.StatusInfo) { }
|
||||
|
||||
companion object {
|
||||
/**
|
||||
* 不可自动驾驶,目前场景是刚开机,adas还未和工控机连接
|
||||
|
||||
Reference in New Issue
Block a user