[670][data-center] 新增接管状态回调
This commit is contained in:
@@ -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 ->
|
||||
|
||||
Reference in New Issue
Block a user