Skip to content

Commit

Permalink
Restore previous verbosity behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
rjoomen committed Feb 23, 2024
1 parent 5d0e60b commit 66e081a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ PlannerResponse TrajOptIfoptMotionPlanner::solve(const PlannerRequest& request)
problem->qp_solver = std::make_shared<trajopt_sqp::OSQPEigenSolver>();
OSQPEigenSolver_setSettings(dynamic_cast<trajopt_sqp::OSQPEigenSolver&>(*problem->qp_solver).solver_,
problem->convex_solver_settings);
dynamic_cast<trajopt_sqp::OSQPEigenSolver&>(*problem->qp_solver)
.solver_.settings()
->setVerbosity((problem->convex_solver_settings.verbose != 0) || request.verbose);

trajopt_sqp::TrustRegionSQPSolver solver(problem->qp_solver);
solver.params = problem->opt_info;
Expand Down

0 comments on commit 66e081a

Please sign in to comment.