[6.5.0][道路事件] 经纬度弄反了,导致绘制不可见

This commit is contained in:
renwj
2024-07-08 20:47:16 +08:00
parent e0aa56d32c
commit 5bfb239e6e
7 changed files with 68 additions and 25 deletions

View File

@@ -133,9 +133,10 @@ object CallerAutoPilotStatusListenerManager : CallerBase<IMoGoAutopilotStatusLis
/**
* 通过Gnss定位更新来同步更新自动驾驶状态
*/
fun updateAutoPilotLocAndTime(satelliteTime: Double, lon: Double, lat: Double) {
fun updateAutoPilotLocAndTime(satelliteTime: Double, lon: Double, lat: Double, heading: Double) {
mAutopilotStatusInfo.locationLat = lat
mAutopilotStatusInfo.locationLon = lon
mAutopilotStatusInfo.locationHeading = heading
mAutopilotStatusInfo.satelliteTime = satelliteTime
mAutopilotStatusInfo.locationStatus = true
invokeAutoPilotStatus()