[dev_robotaxi-d-app-module_2132_221223_2.13.2_sop] 优化obu红绿灯的状态

This commit is contained in:
lixiaopeng
2023-02-17 09:57:31 +08:00
parent d03e03ac8b
commit 4b42363318
2 changed files with 0 additions and 4 deletions

View File

@@ -152,7 +152,6 @@ class TrafficLightDispatcher : IMoGoAutopilotIdentifyListener, IMoGoTrafficLight
* obu 红绿灯数据
*/
override fun onObuTrafficLight(light: Int) {
super.onObuTrafficLight(light)
hasObuLightStatus = true
CallerHmiManager.showWarningTrafficLight(light, 3)
}

View File

@@ -8,8 +8,6 @@ object CallerObuTrafficLightListenerManager {
private val M_OBU_TRAFFIC_LIGHT_LISTENER: ConcurrentHashMap<String, IMoGoObuTrafficLightListener> =
ConcurrentHashMap()
var mLight: Int = 0
/**
* 添加监听
* @param tag 标记,用来注销监听使用
@@ -52,7 +50,6 @@ object CallerObuTrafficLightListenerManager {
}
fun invokeObuTrafficLight(light: Int) {
this.mLight = light
M_OBU_TRAFFIC_LIGHT_LISTENER.forEach {
val tag = it.key
val listener = it.value