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 19, 2024
1 parent c2a8d30 commit 6dca9c3
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,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 6dca9c3

Please sign in to comment.