Skip to content

Commit

Permalink
Merge branch 'master' into dev-priv/master
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnyhaibin committed Mar 29, 2023
2 parents a7f756f + 75fd9b1 commit c5f0b9a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions selfdrive/controls/lib/longitudinal_planner.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@ def update(self, sm):
if len(sm['modelV2'].temporalPose.trans):
self.v_model_error = sm['modelV2'].temporalPose.trans[0] - v_ego

accel_limits = [A_CRUISE_MIN, get_max_accel(v_ego)]
accel_limits_turns = limit_accel_in_turns(v_ego, sm['carState'].steeringAngleDeg, accel_limits, self.CP)
if force_slow_decel:
v_cruise = 0.0

Expand Down

0 comments on commit c5f0b9a

Please sign in to comment.