Merge remote-tracking branch 'origin/master'

This commit is contained in:
thesai 2024-08-07 14:54:17 +08:00
commit efa7d1655e
2 changed files with 5 additions and 1 deletions

View File

@ -99,6 +99,10 @@ type TrainHeadPositionInfo struct {
Speed float32
//加速度(m/s^2)
Acceleration float32
//列车上一次所在轨道link
OldLink string
//列车上一次车头位置信息
OldLinkOffset int64
}
func (t *TrainHeadPositionInfo) String() string {

View File

@ -10,7 +10,7 @@ import (
const (
// 仿真循环间隔单位ms
RtssSimulationTick = 20
RtssSimulationTick = 10
)
// 初始化仿真