mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 11:09:19 +02:00
SpeedCtrl DesiredPower can be calculated also from main controller
This commit is contained in:
@@ -7075,6 +7075,10 @@ void TMoverParameters::CheckEIMIC(double dt)
|
||||
|
||||
void TMoverParameters::CheckSpeedCtrl(double dt)
|
||||
{
|
||||
if (EIMCtrlType == 0)
|
||||
{
|
||||
SpeedCtrlUnit.DesiredPower = std::max(eimic, 0.0);
|
||||
}
|
||||
double accfactor = SpeedCtrlUnit.DesiredPower;
|
||||
if (EIMCtrlType >= 2) {
|
||||
if (MainCtrlPos < MainCtrlPosNo - 2) {
|
||||
|
||||
Reference in New Issue
Block a user