[charter]

[debug]
延时5s请求轨迹、添加日志
This commit is contained in:
yangyakun
2023-05-30 12:07:07 +08:00
parent 76f1431033
commit 65c88cb133

View File

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