diff --git a/selfdrive/controls/lib/sunnypilot/accel_controller.py b/selfdrive/controls/lib/sunnypilot/accel_controller.py index ec006d3310..8ee1cb6746 100644 --- a/selfdrive/controls/lib/sunnypilot/accel_controller.py +++ b/selfdrive/controls/lib/sunnypilot/accel_controller.py @@ -29,13 +29,13 @@ from openpilot.common.numpy_fast import interp AccelProfile = custom.AccelerationProfile # accel profile by @arne182 modified by cgw -_DP_CRUISE_MIN_V = [-1.00, -1.00, -0.99, -0.90, -0.90, -0.88, -0.88, -0.82] -_DP_CRUISE_MIN_V_ECO = [-1.00, -1.00, -0.98, -0.88, -0.88, -0.86, -0.86, -0.80] -_DP_CRUISE_MIN_V_SPORT = [-1.01, -1.01, -1.00, -0.92, -0.92, -0.90, -0.90, -0.84] -_DP_CRUISE_MIN_BP = [0., 0.05, 0.4, 0.5, 8.33, 16., 30., 40.] +_DP_CRUISE_MIN_V = [-1.03, -0.79, -0.77, -0.77, -0.75, -0.75, -0.88, -0.82] +_DP_CRUISE_MIN_V_ECO = [-1.02, -0.78, -0.75, -0.75, -0.73, -0.73, -0.80, -0.80] +_DP_CRUISE_MIN_V_SPORT = [-1.04, -0.81, -0.79, -0.79, -0.77, -0.77, -0.90, -0.84] +_DP_CRUISE_MIN_BP = [0., 0.05, 0.1, 0.5, 8.33, 16., 30., 40.] -_DP_CRUISE_MAX_V = [2.4, 2.4, 2.4, 1.60, 1.05, .81, .625, .42, .348, .12] -_DP_CRUISE_MAX_V_ECO = [1.6, 1.6, 1.6, 1.0, .60, .50, .40, .25, .15, .05] +_DP_CRUISE_MAX_V = [2.5, 2.5, 2.5, 1.70, 1.05, .81, .625, .42, .348, .12] +_DP_CRUISE_MAX_V_ECO = [2.0, 2.0, 2.0, 1.4, .80, .68, .53, .32, .20, .085] _DP_CRUISE_MAX_V_SPORT = [3.5, 3.5, 2.8, 2.4, 1.4, 1.0, .89, .75, .50, .2] _DP_CRUISE_MAX_BP = [0., 1., 6., 8., 11., 15., 20., 25., 30., 55.]