Merge branch 'dev_robotaxi-d_250417_8.0.0' into dev_robotaxi-d_250417_8.0.0_routing
This commit is contained in:
@@ -66,4 +66,11 @@ object CallerAutopilotIdentifyListenerManager : CallerBase<IMoGoAutopilotIdentif
|
||||
listener.onAutopilotV2nCongestionEvent(header, rsi)
|
||||
}
|
||||
}
|
||||
|
||||
fun invokeProbabilityChanged(pro1: Float, pro2: Float) {
|
||||
M_LISTENERS.forEach {
|
||||
val listener = it.value
|
||||
listener.onPredictionProbabilityChanged(pro1, pro2)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -21,6 +21,18 @@ object CallerChassisLocationWGS84ListenerManager : CallerBase<IMoGoChassisLocati
|
||||
return mGnssInfo.copy(mGnssInfo, mGnssInfo.longitude, mGnssInfo.latitude)
|
||||
}
|
||||
|
||||
fun getLocationHeading(): Double {
|
||||
return mGnssInfo.heading
|
||||
}
|
||||
|
||||
fun getWgs84Lon(): Double {
|
||||
return mGnssInfo.longitude
|
||||
}
|
||||
|
||||
fun getWgs84Lat(): Double {
|
||||
return mGnssInfo.latitude
|
||||
}
|
||||
|
||||
/**
|
||||
* 添加监听并指定回掉频率
|
||||
*/
|
||||
|
||||
@@ -10,6 +10,15 @@ object CallerMapIdentifyManager {
|
||||
@Volatile
|
||||
var roam = Pair("", false)
|
||||
|
||||
@Volatile
|
||||
var isPreViewLoaded = false
|
||||
@Volatile
|
||||
var isPreView2Loaded = false
|
||||
@Volatile
|
||||
var isPreView3Loaded = false
|
||||
@Volatile
|
||||
var isDecViewLoaded = false
|
||||
|
||||
private val roamApi: IMogoRoma
|
||||
get() = ARouter.getInstance().build(MogoServicePaths.PATH_MAP_BIZ)
|
||||
.navigation() as IMogoRoma
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
package com.mogo.eagle.core.function.call.setting
|
||||
import com.mogo.eagle.core.function.api.setting.IMapShowNameListener
|
||||
import com.mogo.eagle.core.function.call.base.CallerBase
|
||||
|
||||
/**
|
||||
* 工控机展示版本
|
||||
*/
|
||||
object CallerMapShowNameManager: CallerBase<IMapShowNameListener>() {
|
||||
|
||||
/**
|
||||
* 工控机显示版本
|
||||
* @param showName 展示版本
|
||||
*/
|
||||
fun invokeMapShowName(showName: String){
|
||||
M_LISTENERS.forEach{
|
||||
val listener = it.value
|
||||
listener.changeMapShowName(showName)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user