Skip to content

Commit

Permalink
lower down shifting threshold on rwd (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
Juice-XIJ authored Apr 28, 2022
1 parent 582672a commit 26a838c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions forza.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 26a838c

Please sign in to comment.