Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS will be completely phased out by mid-2025. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 182ba0dc authored by Harald Martini's avatar Harald Martini Committed by Markus Quaritsch
Browse files

switch em on in pevamt shift strategy testpowertrain

(cherry picked from commit 7fafd126)
parent ad4e513b
No related branches found
No related tags found
No related merge requests found
......@@ -144,6 +144,12 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl.Shiftstrategies
PowertrainBuilder.BuildSimplePowertrainElectric(runData, testContainer);
TestPowertrain = new TestPowertrain<Gearbox>(testContainer, DataBus);
foreach (var motor in testContainer.ElectricMotors.Values)
{
if ((motor as ElectricMotor).Control is SimpleElectricMotorControl emCtl) {
emCtl.EmOff = false; //Make sure em is switched on
}
}
}
protected void SetupVelocityDropPreprocessor(IVehicleContainer dataBus)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment