diff --git a/fi/train.go b/fi/train.go index 6081487..6de6dee 100644 --- a/fi/train.go +++ b/fi/train.go @@ -99,6 +99,10 @@ type TrainHeadPositionInfo struct { Speed float32 //加速度(m/s^2) Acceleration float32 + //列车上一次所在轨道link + OldLink string + //列车上一次车头位置信息 + OldLinkOffset int64 } func (t *TrainHeadPositionInfo) String() string { diff --git a/init.go b/init.go index bd96eb8..7ca4ca2 100644 --- a/init.go +++ b/init.go @@ -10,7 +10,7 @@ import ( const ( // 仿真循环间隔,单位ms - RtssSimulationTick = 20 + RtssSimulationTick = 10 ) // 初始化仿真