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

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
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
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)
......
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