[8.0.0]
[fix] [接着完善日志]
This commit is contained in:
@@ -50,9 +50,11 @@ object BridgeServiceManager {
|
||||
fun checkTimeout(){
|
||||
if(System.currentTimeMillis() - trajectoryTime>2_000){
|
||||
haveTrajectoryInfo = false
|
||||
CallerLogger.d(TAG,"超时设置为false:haveTrajectoryInfo ${haveTrajectoryInfo}")
|
||||
}
|
||||
if(System.currentTimeMillis() - predictionTime>2_000){
|
||||
havePredictionInfo = false
|
||||
CallerLogger.d(TAG,"超时设置为false:havePredictionInfo ${havePredictionInfo}")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user