Merge branch 'develop' into local-test
All checks were successful
local-test分支打包构建docker并发布运行 / Docker-Build (push) Successful in 1m30s
All checks were successful
local-test分支打包构建docker并发布运行 / Docker-Build (push) Successful in 1m30s
This commit is contained in:
commit
cdfffc65e8
@ -94,9 +94,12 @@ func (s *semiPhysicalTrainImpl) Stop() {
|
||||
}
|
||||
|
||||
func (s *semiPhysicalTrainImpl) SendTrainControlMessage(info *message.DynamicsTrainInfo) {
|
||||
sendMsg := &message.TrainSpeedMsg{}
|
||||
sendMsg.DynamicsDecode(info)
|
||||
s.trainSpeedInfoUdpClient.Send(sendMsg.Encode())
|
||||
if s.trainSpeedInfoUdpClient != nil {
|
||||
sendMsg := &message.TrainSpeedMsg{}
|
||||
sendMsg.DynamicsDecode(info)
|
||||
s.trainSpeedInfoUdpClient.Send(sendMsg.Encode())
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func (s *semiPhysicalTrainImpl) initSemiPhysical() {
|
||||
|
Loading…
Reference in New Issue
Block a user