[680][adas]启动自动驾驶失败来源切换到FSM2024,移除无用接口
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
package com.zhjt.mogo.adas.data.bean;
|
||||
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import fsm.Fsm2024;
|
||||
import mogo.telematics.pad.MessagePad;
|
||||
import mogo_msg.MogoReportMsg;
|
||||
|
||||
@@ -36,25 +39,34 @@ public class AutopilotStatistics {
|
||||
public final int status;
|
||||
|
||||
/**
|
||||
* 用时
|
||||
* 用时 取消自动驾驶时不赋值
|
||||
* 单位:ms
|
||||
*/
|
||||
public final long usedTime;
|
||||
|
||||
/**
|
||||
* 下发的启动自动驾驶命令
|
||||
* 下发的启动自动驾驶命令 取消自动驾驶时不赋值
|
||||
*/
|
||||
@Nullable
|
||||
public final MessagePad.SetAutopilotModeReq req;
|
||||
|
||||
/**
|
||||
* 失败的消息
|
||||
* 回调启动自驾成功/失败的时候赋值
|
||||
*/
|
||||
@Nullable
|
||||
public final Fsm2024.FSMStateMsg fsmState;
|
||||
|
||||
/**
|
||||
* 失败的消息 存在FSM2024时 失败此字段不赋值
|
||||
*/
|
||||
@Nullable
|
||||
public final MogoReportMsg.MogoReportMessage failedMessage;
|
||||
|
||||
public AutopilotStatistics(int status, long usedTime, MessagePad.SetAutopilotModeReq req, MogoReportMsg.MogoReportMessage failedMessage) {
|
||||
public AutopilotStatistics(int status, long usedTime, @Nullable MessagePad.SetAutopilotModeReq req, @Nullable Fsm2024.FSMStateMsg fsmState, @Nullable MogoReportMsg.MogoReportMessage failedMessage) {
|
||||
this.status = status;
|
||||
this.usedTime = usedTime;
|
||||
this.req = req;
|
||||
this.fsmState = fsmState;
|
||||
this.failedMessage = failedMessage;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user