diff --git a/core/function-impl/mogo-core-function-obu-mogo/src/main/java/com/mogo/eagle/core/function/obu/mogo/MogoPrivateObuNewManager.kt b/core/function-impl/mogo-core-function-obu-mogo/src/main/java/com/mogo/eagle/core/function/obu/mogo/MogoPrivateObuNewManager.kt index e56034195f..9956595731 100644 --- a/core/function-impl/mogo-core-function-obu-mogo/src/main/java/com/mogo/eagle/core/function/obu/mogo/MogoPrivateObuNewManager.kt +++ b/core/function-impl/mogo-core-function-obu-mogo/src/main/java/com/mogo/eagle/core/function/obu/mogo/MogoPrivateObuNewManager.kt @@ -1114,10 +1114,10 @@ class MogoPrivateObuNewManager private constructor() { val red = currentLight.countDown.toInt() Log.e("lixp", " ----11--- red --------- = $red ----lightCountDownTemp = $lightCountDownTemp ----isGreenLight = $isGreenLight") //记录当前红灯的上一帧的值 10,9,10 - if (lightCountDownTemp < red) { - return - } - lightCountDownTemp = red +// if (lightCountDownTemp < red) { +// return +// } +// lightCountDownTemp = red CallerHmiManager.changeCountdownRed(red) if (red == 1) { @@ -1144,10 +1144,10 @@ class MogoPrivateObuNewManager private constructor() { CallerObuTrafficLightListenerManager.invokeObuTrafficLight(3) val green = currentLight.countDown.toInt() Log.e("lixp", " ----11--- green --------- = $green ---lightCountDownTemp = $lightCountDownTemp ----isYellowLight = $isYellowLight") - if (lightCountDownTemp < green) { - return - } - lightCountDownTemp = green +// if (lightCountDownTemp < green) { +// return +// } +// lightCountDownTemp = green CallerHmiManager.changeCountdownGreen(green) if (green == 1) { @@ -1171,10 +1171,10 @@ class MogoPrivateObuNewManager private constructor() { CallerObuTrafficLightListenerManager.invokeObuTrafficLight(2) val yellow = currentLight.countDown.toInt() Log.d("lixp", " ------- yellow --------- = $yellow ---lightCountDownTemp = $lightCountDownTemp ----isYellowLight = $isYellowLight") - if (lightCountDownTemp < yellow) { - return - } - lightCountDownTemp = yellow +// if (lightCountDownTemp < yellow) { +// return +// } +// lightCountDownTemp = yellow CallerHmiManager.changeCountdownYellow(yellow) }