@@ -167,7 +167,7 @@ ext {
|
||||
// obu sdk
|
||||
obusdk : "com.zhidao.enterprise.smartv2x:smartv2x:1.0.0.3",
|
||||
// mebulaobu : 'com.zhidao.support.nebulaobu:nebulaobu:1.0.0.3',
|
||||
mogoobu : 'com.zhidao.support.obu:mogoobu:1.0.0.13',
|
||||
mogoobu : 'com.zhidao.support.obu:mogoobu:1.0.0.15',
|
||||
mogoami : 'com.zhidao.support.obu.ami:mogoami:1.0.0.3',
|
||||
|
||||
// 左侧面板
|
||||
|
||||
@@ -46,7 +46,7 @@ class MogoPrivateObuManager private constructor() {
|
||||
mIMogoMapService = mMogoServiceApis!!.mapServiceApi
|
||||
|
||||
//自研obu
|
||||
MogoObuManager.getInstance().connect(context, "192.168.20.199")
|
||||
MogoObuManager.getInstance().connect(context, "192.168.43.51")
|
||||
MogoObuManager.getInstance().registerListener(mogoObuListener)
|
||||
}
|
||||
|
||||
|
||||
@@ -40,7 +40,10 @@ object TrafficDataConvertUtils {
|
||||
*/
|
||||
fun cvxRtiThreatIndInfo2TrafficData(info: CvxRtiThreatIndInfo): TrafficData? {
|
||||
// 这里只处理道路施工
|
||||
if (info.rti_id == null || info.ext_info == null || info.ext_info.rti_type != 0x7
|
||||
if(info.ext_info.rti_type != 0x7){
|
||||
return null
|
||||
}
|
||||
if (info.rti_id == null || info.ext_info == null
|
||||
|| info.zones_info == null || info.zones_info.first() == null
|
||||
|| info.zones_info.first().path_points.first() == null
|
||||
|| info.threat_info == null
|
||||
|
||||
Reference in New Issue
Block a user