Skip to content
Permalink
Browse files

fix to matlab interface when not using qpoases

  • Loading branch information...
giaf committed Jun 11, 2019
1 parent aa2ef01 commit 86f6982a51d7971ba1d1a2ee61388d4e196554f4
@@ -141,5 +141,8 @@
fprintf('\nsuccess!\n\n');


waitforbuttonpress;


return;

@@ -911,10 +911,12 @@ void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
{
plan->ocp_qp_solver_plan.qp_solver = FULL_CONDENSING_HPIPM;
}
#if defined(ACADOS_WITH_QPOASES)
else if(!strcmp(qp_solver, "full_condensing_qpoases"))
{
plan->ocp_qp_solver_plan.qp_solver = FULL_CONDENSING_QPOASES;
}
#endif
else
{
mexPrintf("\nqp_solver not supported: %s\n", qp_solver);

0 comments on commit 86f6982

Please sign in to comment.
You can’t perform that action at this time.