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

Skip to content
Snippets Groups Projects
Commit d20e15a8 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

bugfix in gearbox: disengage when vehicle is stopped

parent 36128aa6
No related branches found
No related tags found
No related merge requests found
......@@ -479,7 +479,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
}
}
if (DataBus.VehicleStopped) {
Disengaged = false;
Disengaged = true;
_engageTime = -double.MaxValue.SI<Second>();
}
AdvanceState();
......
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