[6.5.0]融合红绿灯
This commit is contained in:
@@ -3,6 +3,7 @@ package com.mogo.eagle.core.function.datacenter.v2x
|
||||
import android.content.Context
|
||||
import android.os.CountDownTimer
|
||||
import android.os.Handler
|
||||
import android.util.Log
|
||||
import com.mogo.eagle.core.data.biz.trafficlight.TrafficLightResult
|
||||
import com.mogo.eagle.core.data.biz.trafficlight.TrafficLightStatus
|
||||
import com.mogo.eagle.core.data.biz.trafficlight.currentRoadTrafficLight
|
||||
@@ -241,7 +242,7 @@ class TrafficLightDispatcher : IMoGoAutopilotIdentifyListener, IMoGoTrafficLight
|
||||
"${SceneConstant.M_D_C}${TAG}",
|
||||
"resetTrafficLight ------> isReset = $isReset ---hasObuLightStatus = $hasObuLightStatus"
|
||||
)
|
||||
if (!hasObuLightStatus && !hasAutopilotPerception) {
|
||||
if (!hasObuLightStatus && !hasAutopilotPerception && !hasFusionLightStatus) {
|
||||
if (isReset) {
|
||||
hide("云端重置红绿灯数据", DataSourceType.AICLOUD)
|
||||
}
|
||||
@@ -259,6 +260,7 @@ class TrafficLightDispatcher : IMoGoAutopilotIdentifyListener, IMoGoTrafficLight
|
||||
if (filterTelematicUnion(sourceType)) {
|
||||
return
|
||||
}
|
||||
Log.i("xuxinchao","hide msg="+msg+" sourceType="+sourceType)
|
||||
CallerTrafficLightListenerManager.disableTrafficLight()
|
||||
}
|
||||
|
||||
@@ -282,6 +284,10 @@ class TrafficLightDispatcher : IMoGoAutopilotIdentifyListener, IMoGoTrafficLight
|
||||
if (filterTelematicUnion(lightSource)) {
|
||||
return
|
||||
}
|
||||
if(currentState == TrafficLightEnum.BLACK || nextState == TrafficLightEnum.BLACK
|
||||
|| nextTwoState == TrafficLightEnum.BLACK){
|
||||
return
|
||||
}
|
||||
hasObuLightStatus = false
|
||||
hasAutopilotPerception = false
|
||||
hasAiLightStatus = false
|
||||
|
||||
Reference in New Issue
Block a user