mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-09-29 12:53:42 +08:00
same rate up/down
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user