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

Keep the master standstill threshold, name the pressures

DirectionInitial() and PrepareDirection() go back to EU07_AI_NOMOVEMENT,
so a standing consist is left alone at load as it was. The thresholds the
brake charging cut-off works with get names instead of bare numbers, as
does the overcharge margin in the pipe pressure update.
This commit is contained in:
maj00r
2026-09-15 18:51:47 +02:00
parent 2531418d26
commit 0a7915ef58
4 changed files with 15 additions and 14 deletions

View File

@@ -26,6 +26,10 @@ auto const EU07_AI_NOMOVEMENT = 0.05; // standstill velocity threshold
auto const EU07_AI_OVERCHARGETIME = 3.0; // [s]
auto const EU07_AI_MOVEMENT = 1.0; // deliberate movement velocity threshold
auto const EU07_AI_SPEEDLIMITEXTENDSBEYONDSCANRANGE = 10000.0;
auto const EU07_AI_READYBRAKEPRESSURE = 0.25; // [bar] powyżej tego skład liczy się jako zahamowany
auto const EU07_AI_CHARGECUTOFFPRESSURE = 5.2; // [bar] koniec napełniania uderzeniowego
auto const EU07_AI_CHARGECUTOFFPRESSURERELEASED = 5.1; // [bar] to samo, gdy skład jest odhamowany
auto const EU07_AI_COMPRESSORLOWPRESSURE = 5.0; // [bar] poniżej tego zbiornik główny nie wystarcza na napełnianie
enum TOrders
{ // rozkazy dla AI