same rate up/down

This commit is contained in:
Jason Wen
2024-07-31 00:02:04 -04:00
parent 1dd9ed1042
commit 74481be4ff
+2 -2
View File
@@ -539,8 +539,8 @@ class CarController(CarControllerBase):
def make_accel(self, actuators):
long_control = actuators.longControlState
is_ice = not self.CP.flags & (HyundaiFlags.HYBRID | HyundaiFlags.EV)
rate_up = 0.1 * 1 if is_ice else self.jerk_u
rate_down = 0.1 * 1 if is_ice else self.jerk_l
rate_up = 0.1
rate_down = 0.1
if long_control == LongCtrlState.off:
self.accel_raw, self.accel_val = 0, 0
else: