[add]增加感知透传障碍物接口,获取基础配置信息修改为延时获取
This commit is contained in:
@@ -45,6 +45,7 @@ import com.zhjt.service.chain.TracingConstants.Endpoint.Companion.PAD
|
||||
import mogo.telematics.pad.MessagePad
|
||||
import mogo.telematics.pad.MessagePad.TrackedObject
|
||||
import mogo_msg.MogoReportMsg
|
||||
import perception.ObjectOuterClass
|
||||
import perception.TrafficLightOuterClass
|
||||
import prediction.Prediction
|
||||
import record_cache.RecordPanelOuterClass
|
||||
@@ -97,6 +98,19 @@ class MoGoAdasListenerImpl : OnAdasListener {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 透传的融合障碍物 他车数据
|
||||
* 当 MessagePad.CarConfigResp.getProtocolVersionValue() >=3 时此回调有数据,老接口“MessagePad.TrackedObjects”不会回调任何数据
|
||||
*
|
||||
* @param header 头
|
||||
* @param trackedObjects 数据
|
||||
*/
|
||||
override fun onTrackedObjects(
|
||||
header: MessagePad.Header?,
|
||||
trackedObjects: ObjectOuterClass.TrackedObjects?
|
||||
) {
|
||||
}
|
||||
|
||||
//自车定位信息
|
||||
@ChainLog(
|
||||
linkChainLog = CHAIN_LINK_LOG_WEB_SOCKET_AUTOPILOT,
|
||||
@@ -175,7 +189,7 @@ class MoGoAdasListenerImpl : OnAdasListener {
|
||||
if (autopilotStatusInfo.connectIP == null) {
|
||||
autopilotStatusInfo.connectIP = AdasManager.getInstance().ipcConnectedIp
|
||||
}
|
||||
if(autopilotStatusInfo.connectPort == null){
|
||||
if (autopilotStatusInfo.connectPort == null) {
|
||||
autopilotStatusInfo.connectPort = AdasManager.getInstance().ipcConnectedPort
|
||||
}
|
||||
if (autopilotStatusInfo.dockVersion == null) {
|
||||
|
||||
Reference in New Issue
Block a user