diff --git a/selfdrive/controls/lib/longitudinal_planner.py b/selfdrive/controls/lib/longitudinal_planner.py index 55670e19a..d1d66670f 100755 --- a/selfdrive/controls/lib/longitudinal_planner.py +++ b/selfdrive/controls/lib/longitudinal_planner.py @@ -41,14 +41,14 @@ DP_ACCEL_ECO = 0 DP_ACCEL_NORMAL = 1 DP_ACCEL_SPORT = 2 -# accel profile by @arne182 -_DP_CRUISE_MIN_V = [-2.0, -1.5, -1.0, -0.7, -0.5] -_DP_CRUISE_MIN_V_ECO = [-1.0, -0.7, -0.6, -0.5, -0.3] +# accel profile by @arne182 modified by @wer5lcy +_DP_CRUISE_MIN_V = [-2.0, -1.8, -1.6, -1.4, -1.2] +_DP_CRUISE_MIN_V_ECO = [-2.0, -1.6, -1.4, -1.2, -1.0] _DP_CRUISE_MIN_V_SPORT = [-3.0, -2.6, -2.3, -2.0, -1.0] _DP_CRUISE_MIN_BP = [0.0, 5.0, 10.0, 20.0, 55.0] -_DP_CRUISE_MAX_V = [2.0, 2.0, 1.5, .5, .3] -_DP_CRUISE_MAX_V_ECO = [0.8, 0.9, 1.0, 0.4, 0.2] +_DP_CRUISE_MAX_V = [1.6, 1.4, 1.0, 0.6, 0.3] +_DP_CRUISE_MAX_V_ECO = [1.5, 1.3, 0.8, 0.4, 0.2] _DP_CRUISE_MAX_V_SPORT = [3.0, 3.5, 3.0, 2.0, 2.0] _DP_CRUISE_MAX_BP = [0., 5., 10., 20., 55.]