ato逻辑无速度曲线判断
This commit is contained in:
parent
bdd35ae336
commit
631324c2c7
@ -97,6 +97,9 @@ public class ATOService {
|
||||
return;
|
||||
}
|
||||
SpeedCurve speedCurve = ma.getAtoStopCurve();
|
||||
if (speedCurve == null) {
|
||||
return;
|
||||
}
|
||||
// 更新目标距离和建议速度
|
||||
train.setTargetDistance(speedCurve.getTotalDistance());
|
||||
this.doControlBySpeedCurve(train, speedCurve, speedCurve.getTotalDistance());
|
||||
|
Loading…
Reference in New Issue
Block a user