[3.2.0] M2乘客屏增加主动查询轨迹一次

This commit is contained in:
wangmingjun
2023-05-19 17:44:38 +08:00
parent c460406caf
commit 451f48c01c

View File

@@ -19,6 +19,7 @@ import com.mogo.eagle.core.function.api.autopilot.IMoGoAutopilotStatusListener
import com.mogo.eagle.core.function.api.autopilot.IMoGoChassisLocationGCJ02Listener
import com.mogo.eagle.core.function.api.autopilot.IMoGoPlanningRottingListener
import com.mogo.eagle.core.function.api.telematic.IReceivedMsgListener
import com.mogo.eagle.core.function.call.autopilot.CallerAutoPilotControlManager
import com.mogo.eagle.core.function.call.autopilot.CallerAutoPilotStatusListenerManager
import com.mogo.eagle.core.function.call.autopilot.CallerChassisLocationGCJ02ListenerManager
import com.mogo.eagle.core.function.call.autopilot.CallerPlanningRottingListenerManager
@@ -300,6 +301,9 @@ class PM2DrivingModel private constructor() {
}else{//自驾状态 2
mAutoStatusCallback?.updateAutoStatus(true)
if (routesResult != null){
CallerAutoPilotControlManager.getGlobalPath()
}
}
mCurrentAutoStatus = status
}
@@ -408,6 +412,7 @@ class PM2DrivingModel private constructor() {
}
private fun updateLocalOrder(){
mRoutePoints.clear()
routesResult = null
mNextStationIndex = 0
isGoingToNextStation = false