动力学列车数据配置

This commit is contained in:
tiger_zhou 2024-01-16 16:33:00 +08:00
parent 1a21f13cce
commit ac47366a34

View File

@ -205,6 +205,43 @@ message TrainDynamicState {
bool udpInterruption = 21; bool udpInterruption = 21;
// //
float acceleration = 22; float acceleration = 22;
TrainDynamicConfig trainDynamicConfig = 23;
}
//
message TrainDynamicConfig{
//100=1ton
int32 mass=1;
//A
float baseResistanceParamA=2;
// B
float baseResistanceParamB=3;
// C
float baseResistanceParamC=4;
//线R1
float curveResistanceParamR1=5;
// 线R2
float curveResistanceParamR2=6;
// 线R3
float curveResistanceParamR3=7;
// 线R4
float curveResistanceParamR4=8;
//
float revolvingMassParam=9;
//
bool jump=10;
//%
float slip=11;
///mm
int32 slide = 12;
///mm
int32 stopSign=13;
//
bool radarEnable = 14;
//
float radarCheckSpeed = 15;
//()
int32 radarCheckTime = 16;
} }
// vobc发过来的列车信息 // vobc发过来的列车信息