Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
97958719af
@ -166,6 +166,8 @@ func convert(info *dynamics.TrainInfo, sta *state.TrainState, simulation *memory
|
||||
} else if sta.VobcState.DirectionBackward {
|
||||
sta.HeadDirection = !info.Up
|
||||
}
|
||||
} else {
|
||||
sta.HeadDirection = runDirection
|
||||
}
|
||||
// 赋值动力学信息
|
||||
sta.DynamicState.Heartbeat = int32(info.LifeSignal)
|
||||
|
Loading…
Reference in New Issue
Block a user