Merge branch 'dev_robotaxi-d_240912_6.7.0' of gitlab.zhidaoauto.com:SCA/L4HA/AndroidApp/MoGoEagleEye into dev_robotaxi-d_240912_6.7.0

This commit is contained in:
aibingbing
2024-09-24 16:33:44 +08:00
3 changed files with 133 additions and 0 deletions

View File

@@ -79,6 +79,7 @@ import com.mogo.eagle.core.function.call.autopilot.CallerStartAutopilotFailedLis
import com.mogo.eagle.core.function.call.autopilot.CallerSweeperFutianCleanSystemListenerManager
import com.mogo.eagle.core.function.call.autopilot.CallerSweeperFutianCloudTaskListenerManager
import com.mogo.eagle.core.function.call.autopilot.CallerNodeStateListenerManager
import com.mogo.eagle.core.function.call.autopilot.CallerTakeoverListenerManager
import com.mogo.eagle.core.function.call.autopilot.CallerV2XListenerManager
import com.mogo.eagle.core.function.call.autopilot.CallerV2nNioEventListenerManager
import com.mogo.eagle.core.function.call.msgbox.CallerMsgBoxManager
@@ -204,6 +205,7 @@ class MoGoAdasListenerImpl : OnAdasListener {
vehicleState: VehicleStateOuterClass.VehicleState?
) {
CallerAutopilotActionsListenerManager.setVehicleState(vehicleState)
CallerTakeoverListenerManager.setVehicleState(vehicleState)
if (vehicleState != null) {
// 处理车辆状态
CallerChassisStatesListenerManager.invokeStates(vehicleState)
@@ -248,6 +250,7 @@ class MoGoAdasListenerImpl : OnAdasListener {
chassisStates: ChassisStatesOuterClass.ChassisStates?
) {
CallerAutopilotActionsListenerManager.setChassisStates(chassisStates)
CallerTakeoverListenerManager.setChassisStates(chassisStates)
if (chassisStates != null) {
CallerChassisStatesListenerManager.invokeNewStates(chassisStates)
chassisStates.taskSystemStates?.let { taskSystemStates ->