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

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

remove commented clause

parent b45f338d
No related branches found
No related tags found
No related merge requests found
......@@ -112,10 +112,8 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
var reserve = 1 - response.EnginePowerRequest / fullLoadPower;
var inTorque = response.ClutchPowerRequest / inAngularSpeed;
// if in shift curve and above idle speed and torque reserve is provided.
if ( /*!IsBelowDownShiftCurve(gear, inTorque, response.EngineSpeed) &&*/ response.EngineSpeed >
DataBus.EngineIdleSpeed &&
reserve >= ModelData.StartTorqueReserve) {
if (response.EngineSpeed > DataBus.EngineIdleSpeed && reserve >= ModelData.StartTorqueReserve) {
_nextGear = gear;
_gearbox.LastUpshift = absTime;
_gearbox.LastDownshift = absTime;
......
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