Skip to content

Commit

Permalink
correct order
Browse files Browse the repository at this point in the history
  • Loading branch information
sshane committed Dec 22, 2021
1 parent bf4d875 commit b80b08e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/controls/lib/longitudinal_mpc_lib/long_mpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ def gen_long_model():
model.xdot = vertcat(x_ego_dot, v_ego_dot, a_ego_dot)

# live parameters
x_obstacle = SX.sym('x_obstacle')
a_min = SX.sym('a_min')
a_max = SX.sym('a_max')
x_obstacle = SX.sym('x_obstacle')
prev_a = SX.sym('prev_a')
model.p = vertcat(a_min, a_max, x_obstacle, prev_a)

Expand Down

0 comments on commit b80b08e

Please sign in to comment.