动力学列车数据配置

This commit is contained in:
tiger_zhou 2024-01-17 16:02:59 +08:00
parent ff0352b2f8
commit 923e04f548

View File

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