fix bug of map track to show and froze frame obj

This commit is contained in:
zhongchao
2022-06-30 16:19:34 +08:00
parent 70a8ea89c6
commit 9c033855af
6 changed files with 8 additions and 19 deletions

View File

@@ -122,7 +122,7 @@ class MoGoAdasListenerImpl : OnAdasListener {
CallerMapUIServiceManager.getMapUIController()?.syncLocation2Map(gnssInfo)
// 同步更新经纬度和系统时间至 AutoPilotStatusListener
CallerAutoPilotStatusListenerManager.updateAutoPilotLatLon(
gnssInfo.satelliteTime.toLong() * 1000,
gnssInfo.satelliteTime,
gnssInfo.longitude,
gnssInfo.latitude
)

View File

@@ -176,7 +176,7 @@ class MogoPrivateObuManager private constructor() {
// 同步给MAP地图
CallerMapUIServiceManager.getMapUIController()?.syncLocation2Map(data)
// 同步更新经纬度和系统时间至 AutoPilotStatusListener
CallerAutoPilotStatusListenerManager.updateAutoPilotLatLon(System.currentTimeMillis(),position.longitude, position.latitude)
CallerAutoPilotStatusListenerManager.updateAutoPilotLatLon(System.currentTimeMillis()/1000.0,position.longitude, position.latitude)
}
} catch (e: Exception) {