nmpc_ddp
|
#include <DDPSolver.h>
Public Member Functions | |
Configuration () | |
Constructor. More... | |
Public Attributes | |
int | print_level = 1 |
Print level (0: no print, 1: print only important, 2: print verbose, 3: print very verbose) More... | |
bool | use_state_eq_second_derivative = false |
Whether to use second-order derivatives of state equation. More... | |
bool | with_input_constraint = false |
Whether input has constraints. More... | |
int | max_iter = 500 |
Maximum iteration of optimization loop. More... | |
int | horizon_steps = 100 |
Number of steps in horizon. More... | |
int | reg_type = 1 |
Regularization type (1: Quu + lambda * I, 2: Vxx + lambda * I) More... | |
double | initial_lambda = 1e-4 |
Initial regularization coefficient. More... | |
double | initial_dlambda = 1.0 |
Initial scaling factor of regularization coefficient. More... | |
double | lambda_factor = 1.6 |
Increasing/decreasing factor of regularization coefficient scaling. More... | |
double | lambda_min = 1e-6 |
Minimum regularization coefficient. More... | |
double | lambda_max = 1e10 |
Maximum regularization coefficient. More... | |
double | k_rel_norm_thre = 1e-4 |
Termination threshold of relative norm of k. More... | |
double | lambda_thre = 1e-5 |
Termination threshold of regularization coefficient. More... | |
Eigen::VectorXd | alpha_list |
List of alpha (scaling factor of k) More... | |
double | cost_update_ratio_thre = 0 |
Allowable threshold of cost update ratio. More... | |
double | cost_update_thre = 1e-7 |
Termination threshold of cost update. More... | |
Definition at line 47 of file DDPSolver.h.
|
inline |
Constructor.
Definition at line 50 of file DDPSolver.h.
Eigen::VectorXd nmpc_ddp::DDPSolver< StateDim, InputDim >::Configuration::alpha_list |
List of alpha (scaling factor of k)
Definition at line 103 of file DDPSolver.h.
double nmpc_ddp::DDPSolver< StateDim, InputDim >::Configuration::cost_update_ratio_thre = 0 |
Allowable threshold of cost update ratio.
Definition at line 106 of file DDPSolver.h.
double nmpc_ddp::DDPSolver< StateDim, InputDim >::Configuration::cost_update_thre = 1e-7 |
Termination threshold of cost update.
Definition at line 109 of file DDPSolver.h.
int nmpc_ddp::DDPSolver< StateDim, InputDim >::Configuration::horizon_steps = 100 |
Number of steps in horizon.
Definition at line 76 of file DDPSolver.h.
double nmpc_ddp::DDPSolver< StateDim, InputDim >::Configuration::initial_dlambda = 1.0 |
Initial scaling factor of regularization coefficient.
Definition at line 85 of file DDPSolver.h.
double nmpc_ddp::DDPSolver< StateDim, InputDim >::Configuration::initial_lambda = 1e-4 |
Initial regularization coefficient.
Definition at line 82 of file DDPSolver.h.
double nmpc_ddp::DDPSolver< StateDim, InputDim >::Configuration::k_rel_norm_thre = 1e-4 |
Termination threshold of relative norm of k.
Definition at line 97 of file DDPSolver.h.
double nmpc_ddp::DDPSolver< StateDim, InputDim >::Configuration::lambda_factor = 1.6 |
Increasing/decreasing factor of regularization coefficient scaling.
Definition at line 88 of file DDPSolver.h.
double nmpc_ddp::DDPSolver< StateDim, InputDim >::Configuration::lambda_max = 1e10 |
Maximum regularization coefficient.
Definition at line 94 of file DDPSolver.h.
double nmpc_ddp::DDPSolver< StateDim, InputDim >::Configuration::lambda_min = 1e-6 |
Minimum regularization coefficient.
Definition at line 91 of file DDPSolver.h.
double nmpc_ddp::DDPSolver< StateDim, InputDim >::Configuration::lambda_thre = 1e-5 |
Termination threshold of regularization coefficient.
Definition at line 100 of file DDPSolver.h.
int nmpc_ddp::DDPSolver< StateDim, InputDim >::Configuration::max_iter = 500 |
Maximum iteration of optimization loop.
Definition at line 73 of file DDPSolver.h.
int nmpc_ddp::DDPSolver< StateDim, InputDim >::Configuration::print_level = 1 |
Print level (0: no print, 1: print only important, 2: print verbose, 3: print very verbose)
Definition at line 63 of file DDPSolver.h.
int nmpc_ddp::DDPSolver< StateDim, InputDim >::Configuration::reg_type = 1 |
Regularization type (1: Quu + lambda * I, 2: Vxx + lambda * I)
Definition at line 79 of file DDPSolver.h.
bool nmpc_ddp::DDPSolver< StateDim, InputDim >::Configuration::use_state_eq_second_derivative = false |
Whether to use second-order derivatives of state equation.
Definition at line 67 of file DDPSolver.h.
bool nmpc_ddp::DDPSolver< StateDim, InputDim >::Configuration::with_input_constraint = false |
Whether input has constraints.
Definition at line 70 of file DDPSolver.h.