From 2c7f63ce8a3baf8a102e0dddb04e148b3cfbcd22 Mon Sep 17 00:00:00 2001
From: Markus Quaritsch <markus.quaritsch@tugraz.at>
Date: Mon, 6 Mar 2017 16:50:49 +0100
Subject: [PATCH] at shift strategy: upshift 1C -> 2C only if gbx speed > 0

---
 .../Models/SimulationComponent/Impl/ATShiftStrategy.cs          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Impl/ATShiftStrategy.cs b/VectoCore/VectoCore/Models/SimulationComponent/Impl/ATShiftStrategy.cs
index 291ba5b6b2..db37ce5e6c 100644
--- a/VectoCore/VectoCore/Models/SimulationComponent/Impl/ATShiftStrategy.cs
+++ b/VectoCore/VectoCore/Models/SimulationComponent/Impl/ATShiftStrategy.cs
@@ -225,7 +225,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
 
 			// UPSHIFT - Special rule for 1C -> 2C
 			if (!_gearbox.TorqueConverterLocked && ModelData.Gears.ContainsKey(gear + 1) &&
-				ModelData.Gears[gear + 1].HasTorqueConverter) {
+				ModelData.Gears[gear + 1].HasTorqueConverter && outAngularVelocity.IsGreater(0)) {
 				// C -> C+1
 				var nextGear = ModelData.Gears[gear + 1];
 				var gearRatio = nextGear.TorqueConverterRatio / currentGear.TorqueConverterRatio;
-- 
GitLab