动力学列车数据配置

This commit is contained in:
tiger_zhou 2024-01-17 15:53:13 +08:00
parent 411729dc6a
commit b82d0d162f

View File

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