17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-05 06:24:27 +01:00

braking diagnostics

This commit is contained in:
maj00r
2026-10-01 21:57:18 +02:00
parent 76a39af8c2
commit 314e7df294
2 changed files with 114 additions and 0 deletions

View File

@@ -450,6 +450,13 @@ private:
double ReactionTime = 0.0; // czas reakcji Ra: czego i na co? świadomości AI
double fBrakeTime = 0.0; // wpisana wartość jest zmniejszana do 0, gdy ujemna należy zmienić nastawę hamulca
double BrakeChargingCooldown{}; // prevents the ai from trying to charge the train brake too frequently
double fBrakeChargeLogTimer = 0.0;
double fBrakeChargeFSStart = -1.0;
double fConsistMaxCRP = 0.0;
double fConsistMinCRP = 0.0;
int fConsistBrakedCount = 0;
int fConsistReleaserCount = 0;
double fDepartBlockStart = -1.0;
TBrakeSystem BrakeSystem = TBrakeSystem::Individual; //type of main brake
bool ForcePNBrake = false; //is it necessary to use PN brake instead of EP brake
int DynamicBrakeTest = 0; //is it necessary to make brake test while driving