aligator
0.10.0
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
|
Problem data struct. More...
#include <aligator/core/traj-opt-data.hpp>
Public Types | |
using | Scalar = _Scalar |
using | StageFunctionData = StageFunctionDataTpl<Scalar> |
using | StageData = StageDataTpl<Scalar> |
using | CostData = CostDataAbstractTpl<Scalar> |
Public Member Functions | |
ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) | |
std::size_t | numSteps () const |
TrajOptDataTpl ()=default | |
TrajOptDataTpl (const TrajOptProblemTpl< Scalar > &problem) | |
Public Attributes | |
Scalar | cost_ = 0. |
Current cost in the TO problem. | |
shared_ptr< StageFunctionData > | init_data |
Data for the initial condition. | |
std::vector< shared_ptr< StageData > > | stage_data |
Data structs for each stage of the problem. | |
shared_ptr< CostData > | term_cost_data |
Terminal cost data. | |
std::vector< shared_ptr< StageFunctionData > > | term_cstr_data |
Terminal constraint data. | |
Problem data struct.
using aligator::TrajOptDataTpl< Scalar >::Scalar = _Scalar |
Definition at line 11 of file traj-opt-data.hpp.
using aligator::TrajOptDataTpl< Scalar >::StageFunctionData = StageFunctionDataTpl<Scalar> |
Definition at line 13 of file traj-opt-data.hpp.
using aligator::TrajOptDataTpl< Scalar >::StageData = StageDataTpl<Scalar> |
Definition at line 14 of file traj-opt-data.hpp.
using aligator::TrajOptDataTpl< Scalar >::CostData = CostDataAbstractTpl<Scalar> |
Definition at line 15 of file traj-opt-data.hpp.
|
default |
aligator::TrajOptDataTpl< Scalar >::TrajOptDataTpl | ( | const TrajOptProblemTpl< Scalar > & | problem | ) |
aligator::TrajOptDataTpl< Scalar >::ALIGATOR_DYNAMIC_TYPEDEFS | ( | Scalar | ) |
|
inline |
Definition at line 29 of file traj-opt-data.hpp.
Scalar aligator::TrajOptDataTpl< Scalar >::cost_ = 0. |
Current cost in the TO problem.
Definition at line 18 of file traj-opt-data.hpp.
shared_ptr<StageFunctionData> aligator::TrajOptDataTpl< Scalar >::init_data |
Data for the initial condition.
Definition at line 21 of file traj-opt-data.hpp.
std::vector<shared_ptr<StageData> > aligator::TrajOptDataTpl< Scalar >::stage_data |
Data structs for each stage of the problem.
Definition at line 23 of file traj-opt-data.hpp.
shared_ptr<CostData> aligator::TrajOptDataTpl< Scalar >::term_cost_data |
Terminal cost data.
Definition at line 25 of file traj-opt-data.hpp.
std::vector<shared_ptr<StageFunctionData> > aligator::TrajOptDataTpl< Scalar >::term_cstr_data |
Terminal constraint data.
Definition at line 27 of file traj-opt-data.hpp.