[fix]
[接着完善日志]
This commit is contained in:
yangyakun
2025-05-13 17:46:07 +08:00
parent 31a460b464
commit 3cc19ebfd0
2 changed files with 4 additions and 0 deletions

View File

@@ -50,9 +50,11 @@ object BridgeServiceManager {
fun checkTimeout(){
if(System.currentTimeMillis() - trajectoryTime>2_000){
haveTrajectoryInfo = false
CallerLogger.d(TAG,"超时设置为falsehaveTrajectoryInfo ${haveTrajectoryInfo}")
}
if(System.currentTimeMillis() - predictionTime>2_000){
havePredictionInfo = false
CallerLogger.d(TAG,"超时设置为falsehavePredictionInfo ${havePredictionInfo}")
}
}

View File

@@ -5,6 +5,7 @@ import com.mogo.eagle.core.function.api.autopilot.IMoGoPlanningTrajectoryListene
import com.mogo.eagle.core.function.call.autopilot.CallerAutopilotIdentifyListenerManager
import com.mogo.eagle.core.function.call.autopilot.CallerPlanningTrajectoryListenerManager
import com.mogo.eagle.core.function.call.base.CallerBase
import com.mogo.eagle.core.utilcode.mogo.logger.CallerLogger
import com.mogo.eagle.core.utilcode.mogo.logger.scene.SceneConstant.Companion.M_OCHCOMMON
import com.mogo.och.bridge.BridgeServiceManager
import prediction2025.Prediction2025
@@ -35,6 +36,7 @@ object OchBridgeManager: CallerBase<IMoGoPlanningTrajectoryListener>(),
}
override fun onPredictionObstacleTrajectory(predictionObjects: Prediction2025.mPredictionObjects) {
CallerLogger.d(TAG,"onPredictionObstacleTrajectory 数据:${predictionObjects.objsAppList.size}------${predictionObjects.objsAppCount}")
if (predictionObjects.objsAppList==null||predictionObjects.objsAppCount<=0) {
BridgeServiceManager.invokePredictionHaveData(false)
}else{