列车机器人驾驶需使用驾驶命令后才会自动解除EB
This commit is contained in:
parent
aec1a01f96
commit
4becfd48cb
@ -1356,6 +1356,7 @@ public class VirtualRealityTrain extends VirtualRealityDevice {
|
|||||||
|
|
||||||
public void updateDriveParam(DriveParamVO paramVO) {
|
public void updateDriveParam(DriveParamVO paramVO) {
|
||||||
paramVO.setDefaultStop(this.robotDriveParam.isDefaultStop());
|
paramVO.setDefaultStop(this.robotDriveParam.isDefaultStop());
|
||||||
|
paramVO.setReleaseEB(true);
|
||||||
this.robotDriveParam = paramVO;
|
this.robotDriveParam = paramVO;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -84,7 +84,7 @@ public class DriveParamVO {
|
|||||||
* 解除EB(目的是在且仅在每次进行驾驶操作后自动缓解当时存在的EB)
|
* 解除EB(目的是在且仅在每次进行驾驶操作后自动缓解当时存在的EB)
|
||||||
*/
|
*/
|
||||||
@JsonIgnore
|
@JsonIgnore
|
||||||
private boolean releaseEB = true;
|
private boolean releaseEB;
|
||||||
|
|
||||||
public void setSpeedLimit(Float speedLimit) {
|
public void setSpeedLimit(Float speedLimit) {
|
||||||
this.speedLimit = speedLimit;
|
this.speedLimit = speedLimit;
|
||||||
|
Loading…
Reference in New Issue
Block a user