Skip to content

Commit

Permalink
run longitudinal test on dynamic follow
Browse files Browse the repository at this point in the history
  • Loading branch information
sshane committed Nov 17, 2021
1 parent 811526f commit 58a703a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions selfdrive/controls/lib/longitudinal_mpc_lib/long_mpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,8 @@ def set_accel_limits(self, min_a, max_a):
self.cruise_max_a = max_a

def set_desired_TR(self, desired_TR):
if not gh_actions:
self.desired_TR = desired_TR
self.set_weights()
self.desired_TR = desired_TR
self.set_weights()

def update(self, carstate, radarstate, v_cruise):
self.v_ego = carstate.vEgo
Expand Down

0 comments on commit 58a703a

Please sign in to comment.