Skip to content

Commit

Permalink
disable OSQP polish
Browse files Browse the repository at this point in the history
  • Loading branch information
FranekStark committed Feb 23, 2025
1 parent eee5a5b commit 5ba5dfe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ws/src/controllers/src/mit_controller/mpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,11 @@ MPC::MPC(double alpha,
reinterpret_cast<ocp_qp_xcond_solver_opts *>(solver_opts_),
"osqp_linsys_solver",
(void *)osqp_linsys_solver.c_str());
int polish = 0;
ocp_qp_xcond_solver_opts_set(solver_config_,
reinterpret_cast<ocp_qp_xcond_solver_opts *>(solver_opts_),
"osqp_polish",
&polish);
}

ocp_qp_xcond_solver_opts_set(
Expand Down

0 comments on commit 5ba5dfe

Please sign in to comment.