Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add convex_solver_settings to TrajOptIfoptDefaultSolverProfile #425

Merged

Conversation

rjoomen
Copy link
Contributor

@rjoomen rjoomen commented Nov 28, 2023

  • Added convex_solver_settings with proper defaults to TrajOptIfoptDefaultSolverProfile
  • Added handling of convex_solver_settings to trajopt_ifopt_motion_planner

TODO: If this PR is accepted, OSQPEigenSolver_setSettings() should be made a member of trajopt_sqp::OSQPEigenSolver (but that is another repo, hence it is for now included here)

Closes tesseract-robotics/trajopt#367

@rjoomen rjoomen force-pushed the convex_solver_settings branch from 43c4e60 to c669738 Compare November 28, 2023 15:53
@rjoomen
Copy link
Contributor Author

rjoomen commented Nov 28, 2023

Mmm, this needs the SQPStatus::TIME_LIMIT fix from TrajOpt.

@rjoomen rjoomen force-pushed the convex_solver_settings branch from 6960760 to 55360f6 Compare November 28, 2023 21:04
@Levi-Armstrong
Copy link
Contributor

I am going to take a look and see if this can be generalized so solver specific types do not have to go in the profile. Maybe use std::Any or tesseract_common::AnyPoly and maybe updated some of the interface to have setSetttings or something similar.

@rjoomen rjoomen force-pushed the convex_solver_settings branch 2 times, most recently from 6dca9c3 to 66e081a Compare February 23, 2024 05:56
@Levi-Armstrong
Copy link
Contributor

@rjoomen sorry, I have not had time to look into this. Would you have time to investigate a solution to avoid having to include osqp in the profile?

Copy link

codecov bot commented Mar 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.77%. Comparing base (00d3073) to head (b30da30).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #425   +/-   ##
=======================================
  Coverage   85.77%   85.77%           
=======================================
  Files         229      229           
  Lines       15205    15205           
=======================================
  Hits        13042    13042           
  Misses       2163     2163           

@rjoomen
Copy link
Contributor Author

rjoomen commented Mar 7, 2024

I'll look into it.

@rjoomen rjoomen force-pushed the convex_solver_settings branch 8 times, most recently from df989c8 to c004561 Compare May 30, 2024 17:37
…faultSolverProfile

- Added handling of convex_solver_settings to trajopt_ifopt_motion_planner
@Levi-Armstrong Levi-Armstrong force-pushed the convex_solver_settings branch 2 times, most recently from d976999 to c3ef6af Compare June 3, 2024 14:58
@Levi-Armstrong
Copy link
Contributor

@rjoomen I made some changes and will get this merged today.

@Levi-Armstrong Levi-Armstrong force-pushed the convex_solver_settings branch from c3ef6af to b30da30 Compare June 3, 2024 16:08
@Levi-Armstrong Levi-Armstrong merged commit 41dee76 into tesseract-robotics:master Jun 3, 2024
8 of 13 checks passed
@rjoomen
Copy link
Contributor Author

rjoomen commented Jun 3, 2024

Great, thanks!

@rjoomen rjoomen deleted the convex_solver_settings branch June 3, 2024 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Solver settings: adaptive rho
2 participants