[charter]
[debug] 延时5s请求轨迹、添加日志
This commit is contained in:
@@ -237,8 +237,11 @@ object CharterPassengerModel {
|
||||
}
|
||||
when (state) {
|
||||
IMoGoAutopilotStatusListener.STATUS_AUTOPILOT_RUNNING -> {
|
||||
cleanRoutePoints()
|
||||
CallerAutoPilotControlManager.getGlobalPath()
|
||||
RxUtils.createSubscribe(5_000) {
|
||||
cleanRoutePoints()
|
||||
CallerLogger.d(M_BUS_P + TAG,"请求底盘轨迹")
|
||||
CallerAutoPilotControlManager.getGlobalPath()
|
||||
}
|
||||
}
|
||||
IMoGoAutopilotStatusListener.STATUS_AUTOPILOT_ENABLE -> {}
|
||||
IMoGoAutopilotStatusListener.STATUS_AUTOPILOT_DISABLE -> {}
|
||||
@@ -248,7 +251,7 @@ object CharterPassengerModel {
|
||||
}
|
||||
}
|
||||
override fun onAutopilotArriveAtStation(arrivalNotification: MessagePad.ArrivalNotification?) {
|
||||
CallerLogger.d(SceneConstant.M_BUS_P + TAG,"底盘给到站信息")
|
||||
CallerLogger.d(M_BUS_P + TAG,"底盘给到站信息")
|
||||
arriveDest()
|
||||
}
|
||||
}
|
||||
@@ -387,7 +390,7 @@ object CharterPassengerModel {
|
||||
}
|
||||
}else {
|
||||
// 判断是否有订单
|
||||
ordrLagic(data?.data)
|
||||
ordrLagic(data.data)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user