16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 16:19:19 +02:00

Added emergency brake to main controller; additional limit for AI when hint factor for braking is too low

This commit is contained in:
Królik Uszasty
2020-10-12 21:49:01 +02:00
committed by tmj-fstate
parent fdd00f80e9
commit 9e01322e59
4 changed files with 25 additions and 9 deletions

View File

@@ -1550,6 +1550,7 @@ public:
bool SpeedCtrlTypeTime = false; /*czy tempomat sterowany czasowo*/
int SpeedCtrlAutoTurnOffFlag = 0; /*czy tempomat sam się wyłącza*/
bool EIMCtrlAdditionalZeros = false; /*czy ma dodatkowe zero jazdy i zero hamowania */
bool EIMCtrlEmergency = false; /*czy ma dodatkowe zero jazdy i zero hamowania */
double eimv_pr = 0; /*realizowany procent dostepnej sily rozruchu/hamowania*/
double eimv[21];
static std::vector<std::string> const eimv_labels;