|
aligator
0.16.0
A versatile and efficient C++ library for real-time constrained 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.
Definition at line 10 of file traj-opt-data.hpp.
| 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.