mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-12-01 17:37:09 +01:00
refactor(physics): the demand of the integrated controller is private to the vehicle
eimic_real, the demand of the integrated controller the vehicle goes by with
the speed control counted, which TDynamicObject and the consist braking set
for the vehicle that leads, is private: EimicReal() and SetEimicReal(). The
field of the same name of drivingaid::input stays as it is.
No change in behaviour: the golden traces recorded on dfb43c4f match bit for bit.
This commit is contained in:
@@ -29,7 +29,7 @@ std::vector<test::channel> state() {
|
||||
{"MainCtrlPos", [](auto const &M) { return M.MainCtrlPos(); }},
|
||||
{"ScndCtrlPos", [](auto const &M) { return M.ScndCtrlPos(); }},
|
||||
{"LastRelayTime", [](auto const &M) { return M.lineContactors.TimeSinceSwitch(); }},
|
||||
{"eimic_real", [](auto const &M) { return M.eimic_real; }},
|
||||
{"eimic_real", [](auto const &M) { return M.EimicReal(); }},
|
||||
{"TUHEX_StageActual", [](auto const &M) { return M.TUHEX_StageActual; }},
|
||||
{"TUHEX_Active", [](auto const &M) { return flag(M.TUHEX_Active); }},
|
||||
{"DynamicBrakeEMUStatus", [](auto const &M) { return flag(M.brakes.electrodynamic.emuWorking); }},
|
||||
|
||||
Reference in New Issue
Block a user