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

energy meter tweaks

This commit is contained in:
milek7
2021-01-16 22:33:14 +01:00
parent 5d130c7fcf
commit d096c52b5b
4 changed files with 28 additions and 7 deletions

View File

@@ -1364,7 +1364,7 @@ public:
int SoundFlag = 0; /*!o patrz stale sound_ */
int AIFlag{ 0 }; // HACK: events of interest for consist owner
double DistCounter = 0.0; /*! licznik kilometrow */
double EnergyConsumed = 0.0; // energy consumed from pantographs [kWh]
std::pair<double, double> EnergyMeter; // energy <drawn, returned> from grid [kWh]
double V = 0.0; //predkosc w [m/s] względem sprzęgów (dodania gdy jedzie w stronę 0)
double Vel = 0.0; //moduł prędkości w [km/h], używany przez AI
double AccS = 0.0; //efektywne przyspieszenie styczne w [m/s^2] (wszystkie siły)