列车控制连接版本记录1

This commit is contained in:
tiger_zhou 2024-08-05 16:32:20 +08:00
parent 8d19129ec6
commit 5f95106870
2 changed files with 5 additions and 1 deletions

View File

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

View File

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