From 26a838c04daf51fc8ee9fa7ddb8f059024305159 Mon Sep 17 00:00:00 2001 From: Juice-XIJ Date: Thu, 28 Apr 2022 01:20:49 -0700 Subject: [PATCH] lower down shifting threshold on rwd (#39) --- forza.py | 1 + 1 file changed, 1 insertion(+) diff --git a/forza.py b/forza.py index f88e285..da08205 100644 --- a/forza.py +++ b/forza.py @@ -304,6 +304,7 @@ def shifting(self, iteration, fdp): if self.car_drivetrain == 1: # don't down shift to gear 1, 2 when RWD if gear >= 4: + target_down_speed *= 0.9 self.__down_shift(speed, target_down_speed, slip, angle_slip, f_angle_slip, iteration, gear, fdp) else: self.__down_shift(speed, target_down_speed, slip, angle_slip, f_angle_slip, iteration, gear, fdp)