![]() |
- 3.0.2 optimal control module.
|
#include "../../testSystems/LinkedMasses.h"Go to the source code of this file.
Functions | |
| TEST (HPIPMInterfaceTest, compareSolvers) | |
| TEST | ( | HPIPMInterfaceTest | , |
| compareSolvers | |||
| ) |
This unit test compares HPIPM and the custom GNRiccati solver using custom defined system with state dimension 8 and control dimension 3.
References ct::optcon::GNRiccatiSolver< STATE_DIM, CONTROL_DIM, SCALAR >::compute_lv(), ct::optcon::GNRiccatiSolver< STATE_DIM, CONTROL_DIM, SCALAR >::computeFeedbackMatrices(), ct::optcon::GNRiccatiSolver< STATE_DIM, CONTROL_DIM, SCALAR >::computeStatesAndControls(), control_dim, dt, ct::optcon::LQOCSolver< STATE_DIM, CONTROL_DIM, SCALAR >::get_lv(), ct::optcon::LQOCSolver< STATE_DIM, CONTROL_DIM, SCALAR >::getSolutionControl(), ct::optcon::LQOCSolver< STATE_DIM, CONTROL_DIM, SCALAR >::getSolutionFeedback(), ct::optcon::LQOCSolver< STATE_DIM, CONTROL_DIM, SCALAR >::getSolutionState(), i, ct::optcon::LQOCSolver< STATE_DIM, CONTROL_DIM, SCALAR >::setProblem(), ct::optcon::GNRiccatiSolver< STATE_DIM, CONTROL_DIM, SCALAR >::solve(), state_dim, and x0.