Skip to content

Commit

Permalink
Removing per @anbuck's request
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinpark committed Sep 22, 2024
1 parent b4e37cb commit 73997e4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions selfdrive/car/toyota/carcontroller.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,6 @@ def update(self, CC, CS, now_nanos, frogpilot_toggles):
# RAV4 has very sensitive gas pedal
if self.CP.carFingerprint == CAR.TOYOTA_RAV4:
PEDAL_SCALE = interp(CS.out.vEgo, [0.0, MIN_ACC_SPEED, MIN_ACC_SPEED + PEDAL_TRANSITION], [0.15, 0.3, 0.0])
#elif self.CP.carFingerprint == CAR.TOYOTA_SIENNA_HYBRID:
# PEDAL_SCALE = interp(CS.out.vEgo, [0.0, MIN_ACC_SPEED, MIN_ACC_SPEED + PEDAL_TRANSITION], [0.15, 0.3, 0.0])
elif self.CP.carFingerprint == CAR.TOYOTA_COROLLA:
PEDAL_SCALE = interp(CS.out.vEgo, [0.0, MIN_ACC_SPEED, MIN_ACC_SPEED + PEDAL_TRANSITION], [0.3, 0.4, 0.0])
else:
Expand Down

0 comments on commit 73997e4

Please sign in to comment.