[fix]
[taxi 指导下载 恢复]
This commit is contained in:
yangyakun
2024-12-02 11:00:18 +08:00
parent e2fc87494b
commit e4732a0879

View File

@@ -242,7 +242,7 @@ object TaxiTrajectoryManager {
}
private fun sendTrajectoryReq() {
if (mAutoPilotLine != null) {
if (mAutoPilotLine != null&&mAutoPilotLine?.autoPilotLine!=null) {
printInfoMsg("[下发轨迹] sendTrajectoryDownloadReq, lindId=" + mAutoPilotLine?.autoPilotLine?.lineId + ", lineName=" + mAutoPilotLine?.autoPilotLine?.lineName)
writeChainLog(
"轨迹监控",
@@ -250,14 +250,14 @@ object TaxiTrajectoryManager {
true,
OchChainLogManager.EVENT_KEY_INFE_WITH_TRAJECTORY
)
CallerAutoPilotControlManager.sendTrajectoryDownloadReq(mAutoPilotLine!!, COMMON_LOADING)
CallerAutoPilotControlManager.sendTrajectoryDownloadReq(mAutoPilotLine!!.autoPilotLine!!, COMMON_LOADING)
} else {
e(SceneConstant.M_TAXI + TAG, "sendTrajectoryReq(): mAutoPilotLine is null!!!")
}
if (mPreAutoPilotLine != null) {
if (mPreAutoPilotLine != null&&mPreAutoPilotLine?.autoPilotLine!=null) {
printInfoMsg("[下发预加载轨迹] sendTrajectoryDownloadReq, lindId=" + mPreAutoPilotLine?.autoPilotLine?.lineId + ", lineName=" + mPreAutoPilotLine?.autoPilotLine?.lineName)
CallerAutoPilotControlManager.sendTrajectoryDownloadReq(mPreAutoPilotLine!!, PRE_LOADING)
CallerAutoPilotControlManager.sendTrajectoryDownloadReq(mPreAutoPilotLine!!.autoPilotLine!!, PRE_LOADING)
} else {
e(SceneConstant.M_TAXI + TAG, "sendTrajectoryReq(): mPreAutoPilotLine is null!!!")
}