动力学列车数据配置
This commit is contained in:
parent
1a21f13cce
commit
ac47366a34
@ -205,6 +205,43 @@ 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;
|
||||
//雷达是否有效
|
||||
bool radarEnable = 14;
|
||||
//雷达测速数值
|
||||
float radarCheckSpeed = 15;
|
||||
//雷达检测时间(秒)
|
||||
int32 radarCheckTime = 16;
|
||||
}
|
||||
|
||||
// vobc发过来的列车信息
|
||||
|
Loading…
Reference in New Issue
Block a user