动力学列车数据配置

This commit is contained in:
tiger_zhou 2024-01-17 13:09:43 +08:00
parent 411729dc6a
commit 6bc00faaa1

View File

@ -205,6 +205,53 @@ message TrainDynamicState {
bool udpInterruption = 21;
//
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;
//A端
TrainEndsState trainEndsA = 14;
//B端
TrainEndsState trainEndsB = 15;
}
//
message TrainEndsState{
//
repeated bool speedSensorEnable = 1;
//
bool radarEnable = 2;
//
float radarCheckSpeed = 3;
//()
int32 radarCheckTime = 4;
}
// vobc发过来的列车信息