Code development platform for open source projects from the European Union institutions

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

use simpleelctric motor control instead of dummy electric motor control

(cherry picked from commit 7e4750d4)
parent 23d39975
No related branches found
No related tags found
No related merge requests found
......@@ -125,8 +125,8 @@ namespace TUGraz.VectoCore.Models.Simulation.Impl
var gradient = 0.SI<Radian>();
foreach (var motor in container.ElectricMotors.Values) {
if ((motor as ElectricMotor).Control is DummyElectricMotorControl emCtl) {
emCtl.EmTorque = null;
if ((motor as ElectricMotor).Control is SimpleElectricMotorControl emCtl) {
emCtl.EmOff = true;
}
}
......
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