aligator
0.16.0 A versatile and efficient C++ library for real-time constrained trajectory optimization. |
#include <aligator/modelling/costs/quad-state-cost.hpp>
Public Types | |
| using | Base = QuadraticResidualCostTpl<Scalar> |
| using | Manifold = ManifoldAbstractTpl<Scalar> |
| using | ControlError = ControlErrorResidualTpl<Scalar> |
| using | StageFunction = StageFunctionTpl<Scalar> |
| Public Types inherited from aligator::QuadraticResidualCostTpl< Scalar > | |
| using | Scalar |
| using | Base |
| using | CostData |
| using | Data |
| using | StageFunction |
| using | Manifold |
| Public Types inherited from aligator::CostAbstractTpl< Scalar > | |
| using | Scalar |
| using | CostData |
| using | Manifold |
| using | Scalar |
| using | CostData |
| using | Manifold |
Public Member Functions | |
| ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) | |
| QuadraticControlCostTpl (xyz::polymorphic< Manifold > space, const ControlError &resdl, const MatrixXs &weights) | |
| QuadraticControlCostTpl (xyz::polymorphic< Manifold > space, int nu, const ConstMatrixRef &weights) | |
| QuadraticControlCostTpl (xyz::polymorphic< Manifold > space, const ConstVectorRef &target, const ConstMatrixRef &weights) | |
| void | setTarget (const ConstVectorRef &target) |
| ConstVectorRef | getTarget () const |
| Public Member Functions inherited from aligator::QuadraticResidualCostTpl< Scalar > | |
| ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) | |
| QuadraticResidualCostTpl (xyz::polymorphic< Manifold > space, xyz::polymorphic< StageFunction > function, const ConstMatrixRef &weights) | |
| void | evaluate (const ConstVectorRef &x, const ConstVectorRef &u, CostData &data_) const |
| Evaluate the cost function. | |
| void | computeGradients (const ConstVectorRef &x, const ConstVectorRef &u, CostData &data_) const |
| Compute the cost gradients \((\ell_x, \ell_u)\). | |
| void | computeHessians (const ConstVectorRef &x, const ConstVectorRef &u, CostData &data_) const |
| Compute the cost Hessians \((\ell_{ij})_{i,j \in \{x,u\}}\). | |
| shared_ptr< CostData > | createData () const |
| Derived * | getResidual () |
| Get a pointer to the underlying type of the residual, by attempting to cast. | |
| const Derived * | getResidual () const |
| Get a pointer to the underlying type of the residual, by attempting to cast. | |
| Public Member Functions inherited from aligator::CostAbstractTpl< Scalar > | |
| ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) | |
| int | nx () const |
| int | ndx () const |
| CostAbstractTpl (U &&space, const int nu) | |
| virtual | ~CostAbstractTpl ()=default |
| ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) | |
| int | nx () const |
| int | ndx () const |
| CostAbstractTpl (U &&space, const int nu) | |
| virtual | ~CostAbstractTpl ()=default |
Protected Member Functions | |
| ControlError & | residual () |
| const ControlError & | residual () const |
Additional Inherited Members | |
| Public Attributes inherited from aligator::QuadraticResidualCostTpl< Scalar > | |
| MatrixXs | weights_ |
| xyz::polymorphic< StageFunction > | residual_ |
| bool | gauss_newton |
| Public Attributes inherited from aligator::CostAbstractTpl< Scalar > | |
| xyz::polymorphic< Manifold > | space |
| State dimension. | |
| int | nu |
| Control dimension. | |
| xyz::polymorphic< Manifold > | space |
| State dimension. | |
| int | nu |
| Control dimension. | |
Definition at line 47 of file quad-state-cost.hpp.
| using aligator::QuadraticControlCostTpl< Scalar >::Base = QuadraticResidualCostTpl<Scalar> |
Definition at line 49 of file quad-state-cost.hpp.
| using aligator::QuadraticControlCostTpl< Scalar >::Manifold = ManifoldAbstractTpl<Scalar> |
Definition at line 50 of file quad-state-cost.hpp.
| using aligator::QuadraticControlCostTpl< Scalar >::ControlError = ControlErrorResidualTpl<Scalar> |
Definition at line 51 of file quad-state-cost.hpp.
| using aligator::QuadraticControlCostTpl< Scalar >::StageFunction = StageFunctionTpl<Scalar> |
Definition at line 52 of file quad-state-cost.hpp.
| inline |
Definition at line 54 of file quad-state-cost.hpp.
| inline |
Definition at line 59 of file quad-state-cost.hpp.
| inline |
Definition at line 64 of file quad-state-cost.hpp.
| aligator::QuadraticControlCostTpl< Scalar >::ALIGATOR_DYNAMIC_TYPEDEFS | ( | Scalar | ) |
| inline |
Definition at line 70 of file quad-state-cost.hpp.
| inline |
Definition at line 71 of file quad-state-cost.hpp.
| inlineprotected |
Definition at line 74 of file quad-state-cost.hpp.
| inlineprotected |
Definition at line 77 of file quad-state-cost.hpp.