[Update]升级ADAS版本,增加Docker版本展示,自动驾驶状态展示
Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
@@ -64,7 +64,10 @@ public class AutopilotStatus implements Serializable {
|
||||
* 自动驾驶状态 0非自动驾驶,1自动驾驶
|
||||
*/
|
||||
private int pilotmode;
|
||||
|
||||
/**
|
||||
* 自动驾驶车控状态,0-人工驾驶, 1-自动驾驶
|
||||
*/
|
||||
private int control_pilotmode;
|
||||
|
||||
public int getState() {
|
||||
return state;
|
||||
@@ -74,6 +77,14 @@ public class AutopilotStatus implements Serializable {
|
||||
this.state = state;
|
||||
}
|
||||
|
||||
public float getSpeed() {
|
||||
return speed;
|
||||
}
|
||||
|
||||
public void setSpeed(float speed) {
|
||||
this.speed = speed;
|
||||
}
|
||||
|
||||
public String getReason() {
|
||||
return reason;
|
||||
}
|
||||
@@ -82,27 +93,66 @@ public class AutopilotStatus implements Serializable {
|
||||
this.reason = reason;
|
||||
}
|
||||
|
||||
public float getSpeed() {
|
||||
return speed;
|
||||
}
|
||||
|
||||
public void setSpeed(float speed) {
|
||||
this.speed = speed;
|
||||
}
|
||||
public int getCamera() {
|
||||
return camera;
|
||||
}
|
||||
|
||||
public void setCamera(int camera) {
|
||||
this.camera = camera;
|
||||
}
|
||||
|
||||
public int getRadar() {
|
||||
return radar;
|
||||
}
|
||||
|
||||
public void setRadar(int radar) {
|
||||
this.radar = radar;
|
||||
}
|
||||
|
||||
public int getRtk() {
|
||||
return rtk;
|
||||
}
|
||||
|
||||
public void setRtk(int rtk) {
|
||||
this.rtk = rtk;
|
||||
}
|
||||
|
||||
public int getPilotmode() {
|
||||
return pilotmode;
|
||||
}
|
||||
|
||||
public void setPilotmode(int pilotmode) {
|
||||
this.pilotmode = pilotmode;
|
||||
}
|
||||
|
||||
public int getControl_pilotmode() {
|
||||
return control_pilotmode;
|
||||
}
|
||||
|
||||
public void setControl_pilotmode(int control_pilotmode) {
|
||||
this.control_pilotmode = control_pilotmode;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "ValuesBean{" +
|
||||
"state=" + state +
|
||||
", speed=" + speed +
|
||||
", reason='" + reason + '\'' +
|
||||
", camera=" + camera +
|
||||
", radar=" + radar +
|
||||
", rtk=" + rtk +
|
||||
", pilotmode=" + pilotmode +
|
||||
", control_pilotmode=" + control_pilotmode +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "AutopilotStatus{" +
|
||||
"action='" + action + '\'' +
|
||||
", values=" + values +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,6 +17,11 @@ class AutopilotStatusInfo : Serializable {
|
||||
var connectStatus = false
|
||||
var version: String = "v0.0"
|
||||
|
||||
/**
|
||||
* 工控机镜像版本
|
||||
*/
|
||||
var dockVersion: String = "v0.0"
|
||||
|
||||
/**
|
||||
* 定位是否可用
|
||||
*/
|
||||
@@ -59,4 +64,9 @@ class AutopilotStatusInfo : Serializable {
|
||||
*/
|
||||
var pilotmode = 0
|
||||
|
||||
/**
|
||||
* 自动驾驶状态 0非自动驾驶,1自动驾驶
|
||||
*/
|
||||
var control_pilotmode = 0
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user