aligator
0.10.0
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
|
The Python bindings. More...
Classes | |
struct | BlkMatrixPythonVisitor |
struct | CallbackWrapper |
struct | ClonePythonVisitor |
struct | ContinousDataWrapper |
struct | CopyableVisitor |
struct | CostDataWrapper |
struct | CreateDataPolymorphicPythonVisitor |
struct | CreateDataPythonVisitor |
struct | ExplicitDataWrapper |
struct | FrameAPIVisitor |
struct | FunctionDataWrapper |
Required trampoline class. More... | |
struct | LinFunctionCompositionVisitor |
struct | PolymorphicMultiBaseVisitor |
struct | PrintableVisitor |
struct | PrintAddressVisitor |
struct | PyContinuousDynamics |
struct | PyCostFunction |
Wrapper for the CostDataAbstractTpl class and its children. More... | |
struct | PyDynamics |
struct | PyExplicitDynamics |
struct | PyODEAbstract |
struct | PyStageFunction |
struct | PyUnaryFunction |
struct | SlicingVisitor |
struct | SolverVisitor |
Functions | |
template<class C , class MatrixType > | |
bp::object | make_getter_eigen_matrix (MatrixType C::*v) |
Create a getter for Eigen::Matrix type objects which returns an Eigen::Ref. | |
template<class C , class MatrixType , class Policies > | |
bp::object | make_setter_eigen_matrix (MatrixType C::*v, Policies const &policies) |
template<class C , class MatrixType > | |
bp::object | make_setter_eigen_matrix (MatrixType C::*v) |
bp::arg | operator""_a (const char *argname, std::size_t) |
User-defined literal for defining boost::python::arg. | |
void | exposeGAR () |
Expose GAR module. | |
void | exposeFunctions () |
Expose stagewise function classes. | |
void | exposeCosts () |
Expose cost functions. | |
void | exposeConstraint () |
Expose constraints. | |
void | exposeStage () |
Expose StageModel and StageData. | |
void | exposeProblem () |
Expose TrajOptProblem. | |
void | exposeDynamics () |
Expose discrete dynamics. | |
void | exposeContinuousDynamics () |
Expose continuous dynamics. | |
void | exposeIntegrators () |
Expose numerical integrators. | |
void | exposeSolvers () |
Expose solvers. | |
void | exposeCallbacks () |
Expose solver callbacks. | |
void | exposeAutodiff () |
Expose autodiff helpers. | |
void | exposeUtils () |
void | exposeFilter () |
template<typename T > | |
bool | register_enum_symlink (bool export_values) |
void | exposeHistoryCallback () |
context::StageConstraint * | make_constraint_wrap (const PolyFunc &f, const PolySet &c) |
void | exposeQuadCost () |
void | exposeComposites () |
Composite cost functions. | |
void | exposeContactMap () |
Centroidal cost functions. | |
void | exposeCentroidalFunctions () |
void | exposeCostStack () |
fwd-declare exposeCostStack() | |
void | exposeCostAbstract () |
void | exposeCostOps () |
void | exposeFunctionBase () |
void | exposeUnaryFunctions () |
Expose the UnaryFunction type and its member function overloads. | |
void | exposeFunctionExpressions () |
void | exposeFDDP () |
void | exposeProxDDP () |
void | exposeSolverCommon () |
Expose base solver elements. | |
void | exposeStageData () |
void | exposeDenseSolver () |
static void | exposeBlockMatrices () |
void | exposeParallelSolver () |
void | exposeProxRiccati () |
void | exposeGarUtils () |
bp::dict | lqr_sol_initialize_wrap (const lqr_t &problem) |
bp::tuple | lqr_create_sparse_wrap (const lqr_t &problem, const Scalar mudyn, const Scalar mueq, bool update) |
void | exposeODEs () |
void | exposeExplicitDynDirectSum () |
void | exposeDynamicsBase () |
void | exposeExplicitDynamics () |
void | exposeExplicitBase () |
void | exposeLinearDiscreteDynamics () |
void | exposeExplicitIntegrators () |
template<typename Base > | |
void | exposeSliceExpression (const char *name) |
static void | exposeEnums () |
static void | exposeContainers () |
Variables | |
PolymorphicVisitor< PolyCost > | poly_visitor |
PolymorphicMultiBaseVisitor< StageFunction > | func_visitor |
PolymorphicMultiBaseVisitor< DynamicsModel, ExplicitDynamics > | exp_dynamics_visitor |
const PolymorphicMultiBaseVisitor< UnaryFunction, StageFunction > | unary_visitor |
The Python bindings.
using aligator::python::HistoryCallback = HistoryCallbackTpl<Scalar> |
Definition at line 14 of file expose-callbacks.cpp.
using aligator::python::PolyFunc = xyz::polymorphic<context::StageFunction> |
Definition at line 10 of file expose-constraint.cpp.
using aligator::python::PolySet = xyz::polymorphic<context::ConstraintSet> |
Definition at line 11 of file expose-constraint.cpp.
using aligator::python::QuadraticCost = QuadraticCostTpl<Scalar> |
Definition at line 20 of file expose-costs.cpp.
typedef xyz::polymorphic< CostAbstract > aligator::python::PolyCost = xyz::polymorphic<CostAbstract> |
Definition at line 21 of file expose-costs.cpp.
typedef xyz::polymorphic< StageFunction > aligator::python::PolyFunction = xyz::polymorphic<StageFunction> |
Definition at line 23 of file expose-functions.cpp.
using aligator::python::StateErrorResidual = StateErrorResidualTpl<Scalar> |
Definition at line 24 of file expose-functions.cpp.
using aligator::python::ControlErrorResidual = ControlErrorResidualTpl<Scalar> |
Definition at line 25 of file expose-functions.cpp.
using aligator::python::QParams = QFunctionTpl<Scalar> |
Definition at line 9 of file expose-solver-fddp.cpp.
using aligator::python::VParams = ValueFunctionTpl<Scalar> |
Definition at line 10 of file expose-solver-fddp.cpp.
using aligator::python::PolyUnaryFunction = xyz::polymorphic<UnaryFunction> |
Definition at line 14 of file expose-unary-functions.cpp.
typedef RiccatiSolverBase< Scalar > aligator::python::riccati_base_t = RiccatiSolverBase<Scalar> |
Definition at line 10 of file expose-dense.cpp.
Definition at line 11 of file expose-dense.cpp.
Definition at line 17 of file expose-gar.cpp.
using aligator::python::RowMatrixXs = Eigen::Transpose<MatrixXs>::PlainMatrix |
Definition at line 21 of file expose-gar.cpp.
Definition at line 24 of file expose-gar.cpp.
using aligator::python::prox_riccati_t = ProximalRiccatiSolver<Scalar> |
Definition at line 8 of file expose-prox-riccati.cpp.
using aligator::python::stage_factor_t = StageFactor<Scalar> |
Definition at line 9 of file expose-prox-riccati.cpp.
typedef ContactMapTpl< Scalar > aligator::python::ContactMap = ContactMapTpl<Scalar> |
Definition at line 23 of file expose-centroidal.cpp.
typedef xyz::polymorphic< context::Manifold > aligator::python::PolyManifold = xyz::polymorphic<Manifold> |
Definition at line 19 of file expose-composite-costs.cpp.
using aligator::python::QuadResCost = QuadraticResidualCostTpl<Scalar> |
Definition at line 20 of file expose-composite-costs.cpp.
using aligator::python::DirectSumCost = DirectSumCostTpl<Scalar> |
Definition at line 13 of file expose-cost-ops.cpp.
Definition at line 13 of file expose-direct-sum.cpp.
using aligator::python::CentroidalFwdDynamics = CentroidalFwdDynamicsTpl<Scalar> |
Definition at line 22 of file expose-ode.cpp.
Definition at line 23 of file expose-ode.cpp.
using aligator::python::Vector3s = typename math_types<Scalar>::Vector3s |
Definition at line 25 of file expose-ode.cpp.
bp::object aligator::python::make_getter_eigen_matrix | ( | MatrixType C::* | v | ) |
Create a getter for Eigen::Matrix type objects which returns an Eigen::Ref.
Definition at line 45 of file eigen-member.hpp.
bp::object aligator::python::make_setter_eigen_matrix | ( | MatrixType C::* | v, |
Policies const & | policies ) |
Definition at line 55 of file eigen-member.hpp.
bp::object aligator::python::make_setter_eigen_matrix | ( | MatrixType C::* | v | ) |
Definition at line 64 of file eigen-member.hpp.
|
inline |
void aligator::python::exposeGAR | ( | ) |
Expose GAR module.
Definition at line 55 of file expose-gar.cpp.
void aligator::python::exposeFunctions | ( | ) |
Expose stagewise function classes.
Definition at line 119 of file expose-functions.cpp.
void aligator::python::exposeCosts | ( | ) |
Expose cost functions.
Definition at line 138 of file expose-costs.cpp.
void aligator::python::exposeConstraint | ( | ) |
Expose constraints.
Definition at line 18 of file expose-constraint.cpp.
void aligator::python::exposeStage | ( | ) |
Expose StageModel and StageData.
Definition at line 20 of file expose-stage.cpp.
void aligator::python::exposeProblem | ( | ) |
Expose TrajOptProblem.
Definition at line 11 of file expose-problem.cpp.
void aligator::python::exposeDynamics | ( | ) |
Expose discrete dynamics.
Definition at line 16 of file expose-dynamics.cpp.
void aligator::python::exposeContinuousDynamics | ( | ) |
Expose continuous dynamics.
Definition at line 26 of file expose-continuous-dynamics.cpp.
void aligator::python::exposeIntegrators | ( | ) |
Expose numerical integrators.
Definition at line 20 of file expose-integrators.cpp.
void aligator::python::exposeSolvers | ( | ) |
Expose solvers.
Definition at line 55 of file expose-solvers-base.cpp.
void aligator::python::exposeCallbacks | ( | ) |
Expose solver callbacks.
Definition at line 44 of file expose-callbacks.cpp.
void aligator::python::exposeAutodiff | ( | ) |
Expose autodiff helpers.
Expose finite difference helpers.
Definition at line 10 of file expose-autodiff.cpp.
void aligator::python::exposeUtils | ( | ) |
Definition at line 7 of file expose-utils.cpp.
void aligator::python::exposeFilter | ( | ) |
Definition at line 11 of file expose-filter.cpp.
bool aligator::python::register_enum_symlink | ( | bool | export_values | ) |
void aligator::python::exposeHistoryCallback | ( | ) |
Definition at line 20 of file expose-callbacks.cpp.
context::StageConstraint * aligator::python::make_constraint_wrap | ( | const PolyFunc & | f, |
const PolySet & | c ) |
Definition at line 13 of file expose-constraint.cpp.
void aligator::python::exposeQuadCost | ( | ) |
Definition at line 29 of file expose-costs.cpp.
void aligator::python::exposeComposites | ( | ) |
Composite cost functions.
Definition at line 22 of file expose-composite-costs.cpp.
void aligator::python::exposeContactMap | ( | ) |
Centroidal cost functions.
Definition at line 25 of file expose-centroidal.cpp.
void aligator::python::exposeCentroidalFunctions | ( | ) |
Definition at line 46 of file expose-centroidal.cpp.
void aligator::python::exposeCostStack | ( | ) |
fwd-declare exposeCostStack()
Definition at line 25 of file expose-cost-stack.cpp.
void aligator::python::exposeCostAbstract | ( | ) |
Definition at line 79 of file expose-costs.cpp.
void aligator::python::exposeCostOps | ( | ) |
Definition at line 16 of file expose-cost-ops.cpp.
void aligator::python::exposeFunctionBase | ( | ) |
Definition at line 33 of file expose-functions.cpp.
void aligator::python::exposeUnaryFunctions | ( | ) |
Expose the UnaryFunction type and its member function overloads.
Definition at line 17 of file expose-unary-functions.cpp.
void aligator::python::exposeFunctionExpressions | ( | ) |
FUNCTION LINEAR COMPOSE
FUNCTION LINEAR COMPOSE
Definition at line 70 of file expose-function-ops.cpp.
void aligator::python::exposeFDDP | ( | ) |
Definition at line 16 of file expose-solver-fddp.cpp.
void aligator::python::exposeProxDDP | ( | ) |
Definition at line 15 of file expose-solver-prox.cpp.
void aligator::python::exposeSolverCommon | ( | ) |
Expose base solver elements.
Definition at line 16 of file expose-solvers-base.cpp.
void aligator::python::exposeStageData | ( | ) |
Definition at line 10 of file expose-stage-data.cpp.
void aligator::python::exposeDenseSolver | ( | ) |
Definition at line 13 of file expose-dense.cpp.
|
static |
Definition at line 26 of file expose-gar.cpp.
void aligator::python::exposeParallelSolver | ( | ) |
Definition at line 16 of file expose-parallel.cpp.
void aligator::python::exposeProxRiccati | ( | ) |
Definition at line 13 of file expose-prox-riccati.cpp.
void aligator::python::exposeGarUtils | ( | ) |
Definition at line 33 of file expose-utils.cpp.
bp::dict aligator::python::lqr_sol_initialize_wrap | ( | const lqr_t & | problem | ) |
Definition at line 13 of file expose-utils.cpp.
bp::tuple aligator::python::lqr_create_sparse_wrap | ( | const lqr_t & | problem, |
const Scalar | mudyn, | ||
const Scalar | mueq, | ||
bool | update ) |
Definition at line 24 of file expose-utils.cpp.
void aligator::python::exposeODEs | ( | ) |
Definition at line 28 of file expose-ode.cpp.
void aligator::python::exposeExplicitDynDirectSum | ( | ) |
Definition at line 17 of file expose-direct-sum.cpp.
void aligator::python::exposeDynamicsBase | ( | ) |
Definition at line 25 of file expose-dynamics.cpp.
void aligator::python::exposeExplicitDynamics | ( | ) |
Definition at line 28 of file expose-explicit-dynamics.cpp.
void aligator::python::exposeExplicitBase | ( | ) |
Definition at line 39 of file expose-explicit-dynamics.cpp.
void aligator::python::exposeLinearDiscreteDynamics | ( | ) |
Definition at line 79 of file expose-explicit-dynamics.cpp.
void aligator::python::exposeExplicitIntegrators | ( | ) |
Definition at line 24 of file expose-explicit-integrators.cpp.
void aligator::python::exposeSliceExpression | ( | const char * | name | ) |
Definition at line 22 of file expose-function-ops.cpp.
|
static |
Definition at line 18 of file module.cpp.
|
static |
Definition at line 52 of file module.cpp.
PolymorphicVisitor<PolyCost> aligator::python::poly_visitor |
Definition at line 27 of file expose-costs.cpp.
const PolymorphicMultiBaseVisitor< StageFunction > aligator::python::func_visitor |
Definition at line 26 of file expose-functions.cpp.
PolymorphicMultiBaseVisitor<DynamicsModel, ExplicitDynamics> aligator::python::exp_dynamics_visitor |
Definition at line 18 of file expose-explicit-dynamics.cpp.
const PolymorphicMultiBaseVisitor<UnaryFunction, StageFunction> aligator::python::unary_visitor |
Definition at line 20 of file expose-function-ops.cpp.