Skip to content

Commit

Permalink
Merge pull request commaai#89 from rav4kumar/patch-8
Browse files Browse the repository at this point in the history
smooth accl. pedal
  • Loading branch information
arne182 authored Feb 26, 2019
2 parents b299e26 + 8bda9bb commit 1ac8cf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/controls/controlsd.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def state_control(plan, CS, CP, state, events, v_cruise_kph, v_cruise_kph_last,
if CS.gasbuttonstatus == 0:
CP.gasMaxV = [0.2, 0.2, 0.2]
else:
CP.gasMaxV = [0.3, 0.7, 0.9]
CP.gasMaxV = [0.2, 0.5, 0.7]
# Gas/Brake PID loop
actuators.gas, actuators.brake = LoC.update(active, CS.vEgo, CS.brakePressed, CS.standstill, CS.cruiseState.standstill,
v_cruise_kph, plan.vTarget, plan.vTargetFuture, plan.aTarget,
Expand Down

0 comments on commit 1ac8cf9

Please sign in to comment.