Skip to content

Commit

Permalink
Removed unneeded functions
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolaif399 committed Nov 9, 2020
1 parent 2060217 commit 1289503
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions matlab/droneSetup.m
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@

% Setup MPC object
mpc = LinearMPC(Ad,Bd,Qx,Qn,Ru,stateBounds,controlBounds,N);
mpc.updateHorizonLength(N);
mpc.setupCostFunction(refTraj);
[H,f,A,b,Aeq,beq,lb,ub] = mpc.getQuadprogMatrices(x0,refTraj);

[Qout,fval] = quadprog(H,f,A,b,Aeq,beq,lb,ub);
Expand Down

0 comments on commit 1289503

Please sign in to comment.