aligator
0.9.0
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
|
A port of sobec's ResidualModelFlyHighTpl. More...
#include <aligator/modelling/multibody/fly-high.hpp>
Classes | |
struct | Data |
Public Types | |
using | Scalar = _Scalar |
using | Base = UnaryFunctionTpl<Scalar> |
using | BaseData = StageFunctionDataTpl<Scalar> |
using | Model = pinocchio::ModelTpl<Scalar> |
Public Types inherited from aligator::UnaryFunctionTpl< _Scalar > | |
using | Scalar |
using | Base |
using | Data |
Public Types inherited from aligator::StageFunctionTpl< _Scalar > | |
using | Scalar |
using | Data |
Public Member Functions | |
ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) | |
FlyHighResidualTpl (const int ndx, const Model &model, const pinocchio::FrameIndex frame_id, Scalar slope, int nu) | |
void | evaluate (const ConstVectorRef &x, BaseData &data) const |
void | computeJacobians (const ConstVectorRef &x, BaseData &data) const |
shared_ptr< BaseData > | createData () const |
Instantiate a Data object. | |
const auto & | getModel () const |
Public Member Functions inherited from aligator::UnaryFunctionTpl< _Scalar > | |
ALIGATOR_DYNAMIC_TYPEDEFS (_Scalar) | |
virtual void | evaluate (const ConstVectorRef &x, Data &data) const=0 |
void | evaluate (const ConstVectorRef &x, const ConstVectorRef &, Data &data) const override |
virtual void | computeJacobians (const ConstVectorRef &x, Data &data) const=0 |
void | computeJacobians (const ConstVectorRef &x, const ConstVectorRef &, Data &data) const override |
virtual void | computeVectorHessianProducts (const ConstVectorRef &, const ConstVectorRef &, Data &) const |
void | computeVectorHessianProducts (const ConstVectorRef &x, const ConstVectorRef &, const ConstVectorRef &lbda, Data &data) const override |
Public Member Functions inherited from aligator::StageFunctionTpl< _Scalar > | |
ALIGATOR_DYNAMIC_TYPEDEFS (_Scalar) | |
StageFunctionTpl (const int ndx, const int nu, const int nr) | |
virtual | ~StageFunctionTpl ()=default |
Public Member Functions inherited from aligator::frame_api | |
pinocchio::FrameIndex | getFrameId () const |
void | setFrameId (const std::size_t id) |
Public Attributes | |
Scalar | slope_ |
Public Attributes inherited from aligator::StageFunctionTpl< _Scalar > | |
const int | ndx1 |
Current state dimension. | |
const int | nu |
Control dimension. | |
const int | nr |
Function codimension. | |
Static Public Attributes | |
static constexpr int | NR = 2 |
Additional Inherited Members | |
Protected Attributes inherited from aligator::frame_api | |
pinocchio::FrameIndex | pin_frame_id_ |
A port of sobec's ResidualModelFlyHighTpl.
Definition at line 11 of file fly-high.hpp.
using aligator::FlyHighResidualTpl< _Scalar >::Scalar = _Scalar |
Definition at line 12 of file fly-high.hpp.
using aligator::FlyHighResidualTpl< _Scalar >::Base = UnaryFunctionTpl<Scalar> |
Definition at line 16 of file fly-high.hpp.
using aligator::FlyHighResidualTpl< _Scalar >::BaseData = StageFunctionDataTpl<Scalar> |
Definition at line 17 of file fly-high.hpp.
using aligator::FlyHighResidualTpl< _Scalar >::Model = pinocchio::ModelTpl<Scalar> |
Definition at line 18 of file fly-high.hpp.
aligator::FlyHighResidualTpl< _Scalar >::FlyHighResidualTpl | ( | const int | ndx, |
const Model & | model, | ||
const pinocchio::FrameIndex | frame_id, | ||
Scalar | slope, | ||
int | nu ) |
aligator::FlyHighResidualTpl< _Scalar >::ALIGATOR_DYNAMIC_TYPEDEFS | ( | Scalar | ) |
void aligator::FlyHighResidualTpl< _Scalar >::evaluate | ( | const ConstVectorRef & | x, |
BaseData & | data ) const |
void aligator::FlyHighResidualTpl< _Scalar >::computeJacobians | ( | const ConstVectorRef & | x, |
BaseData & | data ) const |
|
inlinevirtual |
Instantiate a Data object.
Reimplemented from aligator::StageFunctionTpl< _Scalar >.
Definition at line 29 of file fly-high.hpp.
|
inline |
Definition at line 33 of file fly-high.hpp.
|
staticconstexpr |
Definition at line 14 of file fly-high.hpp.
Scalar aligator::FlyHighResidualTpl< _Scalar >::slope_ |
Definition at line 35 of file fly-high.hpp.