Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AtsushiSakai committed Feb 18, 2017
1 parent 7eb6425 commit 7d2d290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mpc_tracking/mpc_tracking.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def model_predictive_control(A, B, N, Q, R, T, x0, u0, mindu=None, maxdu=None, m
G = np.zeros((0, nu * N))
h = np.zeros((0, nu))

# G, h = generate_du_constraints_mat(G, h, N, nu, mindu, maxdu)
G, h = generate_du_constraints_mat(G, h, N, nu, mindu, maxdu)
G, h = generate_u_constraints_mat(G, h, N, nu, u0, minu, maxu)

G = matrix(G)
Expand Down

0 comments on commit 7d2d290

Please sign in to comment.