Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

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

allow tolerance of 0.1*tractioninterruption for engaging geear

parent 9da32308
Branches
Tags
No related merge requests found
...@@ -71,7 +71,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl ...@@ -71,7 +71,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
public override bool ClutchClosed(Second absTime) public override bool ClutchClosed(Second absTime)
{ {
return _engageTime.IsSmallerOrEqual(absTime); return _engageTime.IsSmallerOrEqual(absTime, ModelData.TractionInterruption / 20);
} }
public Gearbox(IVehicleContainer container, IShiftStrategy strategy, VectoRunData runData) : base(container, runData) public Gearbox(IVehicleContainer container, IShiftStrategy strategy, VectoRunData runData) : base(container, runData)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment