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 14a21768 authored by Stefanos Doumpoulakis's avatar Stefanos Doumpoulakis
Browse files

fix #428: Remove speed safety margin for gearbox re-engaging

parent a32e57af
No related branches found
No related tags found
No related merge requests found
......@@ -374,8 +374,6 @@ namespace TUGraz.VectoCore.Configuration
/// the combustion engine is set to on.
/// </summary>
public const double VTPIdleSpeedDetectionFactor = 0.85;
public const double DownshiftIdlespeedFactor = 1.1;
}
public static class XML
......
......@@ -548,8 +548,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
protected virtual bool SpeedTooLowForEngine(GearshiftPosition gear, PerSecond outAngularSpeed) =>
(outAngularSpeed * GearboxModelData.Gears[gear.Gear].Ratio).IsSmaller(
Constants.SimulationSettings.DownshiftIdlespeedFactor * DataBus.EngineInfo.EngineIdleSpeed);
(outAngularSpeed * GearboxModelData.Gears[gear.Gear].Ratio).IsSmaller(DataBus.EngineInfo.EngineIdleSpeed);
protected virtual bool SpeedTooHighForEngine(GearshiftPosition gear, PerSecond outAngularSpeed) =>
(outAngularSpeed * GearboxModelData.Gears[gear.Gear].Ratio).IsGreaterOrEqual(
......
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