[dev_arch_opt_3.0] 添加obu红绿灯消失的状态修改

This commit is contained in:
lixiaopeng
2023-02-15 12:03:21 +08:00
parent 397801697b
commit 3af6e283d2
4 changed files with 20 additions and 0 deletions

View File

@@ -781,6 +781,7 @@ class MogoPrivateObuNewManager private constructor() {
CallerTrafficLightListenerManager.disableTrafficLight()
isShowGreenWave = false
isShowRunRedLight = false
CallerTrafficLightListenerManager.invokeTrafficLightDisapper()
}
}
}

View File

@@ -125,6 +125,13 @@ class TrafficLightDispatcher : IMoGoAutopilotIdentifyListener, IMoGoTrafficLight
CallerTrafficLightListenerManager.resetTrafficLightStatus(!hasObuLightStatus)
}
/**
* obu数据消失
*/
override fun onObuTrafficLightDisapper() {
hasObuLightStatus = false
}
/**
* obu 红绿灯数据
*/