18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-22 02:05:01 +01:00

Merge pull request #281 from MaSzyna-EU07/feat/shunt-pantograph-config

AI: suggested pantograph setup for shunting in the .fiz (eu07/maszyna#461)
This commit is contained in:
2026-11-09 12:52:58 +00:00
committed by GitHub
5 changed files with 79 additions and 1 deletions

View File

@@ -2352,6 +2352,9 @@ class TMoverParameters
plc::basic_controller m_plc;
int AIHintPantstate{0}; // suggested pantograph setup
// suggested pantograph setup in shunting (AI: ShuntPantstate=, eu07/maszyna#461), the bits as in Pantstate: 1 front,
// 2 rear, 3 both; 0 (the default) shunts with the pantographs handled as in train mode
int AIHintShuntPantstate{0};
bool AIHintPantUpIfIdle{true}; // whether raise both pantographs if idling for a while
double AIHintLocalBrakeAccFactor{1.05}; // suggested acceleration weight for local brake operation