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
Verified Commit aa3bd38a authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

use ATDisengagespeed threshold in case no gearboxdata is set (i.e. lower this...

use ATDisengagespeed threshold in case no gearboxdata is set (i.e. lower this to 5 km/h instead of 10km/h)
parent 058c441e
No related branches found
No related tags found
No related merge requests found
...@@ -60,7 +60,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl { ...@@ -60,7 +60,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl {
protected virtual bool CannotProvideRecuperationAtLowSpeed(NewtonMeter outTorque) protected virtual bool CannotProvideRecuperationAtLowSpeed(NewtonMeter outTorque)
{ {
return (DataBus.VehicleInfo.VehicleSpeed ?? 0.SI<MeterPerSecond>()).IsSmallerOrEqual( return (DataBus.VehicleInfo.VehicleSpeed ?? 0.SI<MeterPerSecond>()).IsSmallerOrEqual(
GearboxModelData?.DisengageWhenHaltingSpeed ?? Constants.SimulationSettings.ClutchDisengageWhenHaltingSpeed) GearboxModelData?.DisengageWhenHaltingSpeed ?? Constants.SimulationSettings.ATGearboxDisengageWhenHaltingSpeed)
&& outTorque.IsSmaller(0); && outTorque.IsSmaller(0);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment