|
robotoc
robotoc - efficient ROBOT Optimal Control solvers
|
A data structure for an optimal control problem. More...
#include <ocp_data.hpp>

Public Member Functions | |
| template<int p = 1> | |
| double | primalFeasibility () const |
| Returns the lp norm of the primal feasibility, i.e., the constraint violation. Default norm is l1-norm. You can also specify l-infty norm by passing Eigen::Infinity as the template parameter. More... | |
| template<int p = 1> | |
| double | dualFeasibility () const |
| Returns the lp norm of the dual feasibility. Default norm is l1-norm. You can also specify l-infty norm by passing Eigen::Infinity as the template parameter. More... | |
| double | KKTError () const |
| Returns the squared norm of the KKT residual, that is, the primal and dual residual. More... | |
Public Attributes | |
| PerformanceIndex | performance_index |
| Performance index. More... | |
| CostFunctionData | cost_data |
| Cost function data. More... | |
| ConstraintsData | constraints_data |
| Constraints data. More... | |
| StateEquationData | state_equation_data |
| State equation data. More... | |
| ContactDynamicsData | contact_dynamics_data |
| Contact dynamics data. More... | |
| SwitchingConstraintData | switching_constraint_data |
| Switching constraint data. More... | |
A data structure for an optimal control problem.
|
inline |
Returns the lp norm of the dual feasibility. Default norm is l1-norm. You can also specify l-infty norm by passing Eigen::Infinity as the template parameter.
| p | Index of norm. Default is 1 (l1-norm). |
|
inline |
Returns the squared norm of the KKT residual, that is, the primal and dual residual.
|
inline |
Returns the lp norm of the primal feasibility, i.e., the constraint violation. Default norm is l1-norm. You can also specify l-infty norm by passing Eigen::Infinity as the template parameter.
| p | Index of norm. Default is 1 (l1-norm). |
| ConstraintsData robotoc::OCPData::constraints_data |
Constraints data.
| ContactDynamicsData robotoc::OCPData::contact_dynamics_data |
Contact dynamics data.
| CostFunctionData robotoc::OCPData::cost_data |
Cost function data.
| PerformanceIndex robotoc::OCPData::performance_index |
Performance index.
| StateEquationData robotoc::OCPData::state_equation_data |
State equation data.
| SwitchingConstraintData robotoc::OCPData::switching_constraint_data |
Switching constraint data.