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

Solvers C++ unittests (unconstrained) #9

Merged
merged 9 commits into from
Nov 30, 2023
Merged

Solvers C++ unittests (unconstrained) #9

merged 9 commits into from
Nov 30, 2023

Conversation

skleff1994
Copy link
Collaborator

Implemented C++ unittests for all solvers following the Crocoddyl testing machinery and fixed some bugs.
Specifically:

Added a KKT solver with modified termination criteria for testing purposes
Adapted the Crocoddyl's unittest factory for our testing needs
Fixed initial state bug in SolverSQP, SolverCSQP, SolverCSQP_PROXQP
Allowed varying (nx,nu) in SolverCSQP_PROXQP to avoid segfault in the LQR test case

All unittests passed in Debug & Release modes on my machine.
Run ctest -v from the build directory to run the tests on your machine.

@ajordana ajordana merged commit 393587d into devel Nov 30, 2023
@ajordana ajordana deleted the skleff/testing branch November 30, 2023 17:05
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.

2 participants