Merge branch 'dev_robotaxi-d_250417_8.0.0' into dev_robotaxi-d_250417_8.0.0_routing

This commit is contained in:
yangyakun
2025-05-26 11:46:52 +08:00
41 changed files with 1092 additions and 395 deletions

View File

@@ -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)
}
}
}

View File

@@ -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
}
/**
* 添加监听并指定回掉频率
*/

View File

@@ -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

View File

@@ -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)
}
}
}