aligator
0.14.0
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
|
The Python bindings. More...
Classes | |
struct | BlkMatrixPythonVisitor |
struct | BlkMatrixPythonVisitor< BlkMatrix< MatrixType, N, M > > |
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 | OwningNonOwningHolder |
class | polymorphic |
struct | PolymorphicMultiBaseVisitor |
struct | PolymorphicVisitor |
struct | PolymorphicVisitor< xyz::polymorphic< Base, A > > |
struct | PolymorphicWrapper |
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 () |
Expose utils. | |
void | exposeFilter () |
Expose filter strategy. | |
template<class Poly> | |
void | register_polymorphic_to_python () |
Expose a polymorphic value type, e.g. xyz::polymorphic<T, A>. | |
std::string | get_scope_name (bp::scope scope) |
bp::object | get_namespace (const std::string &name) |
Create or retrieve a Python scope (that is, a class or module namespace). | |
template<typename T> | |
bool | register_enum_symlink (bool export_values) |
void | exposeHistoryCallback () |
std::vector< VectorXs > | copy_vec_constref (const std::vector< ConstVectorRef > &x) |
void | exposeCartesianProduct () |
template<typename T> | |
auto | exposeSpecificConstraintSet (const char *name, const char *docstring) |
void | exposeConstraintSets () |
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 | exposeManifolds () |
Expose manifolds. | |
void | exposeFDDP () |
static void | exposeLinesearch () |
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 | exposeConstrainedFwdDynamics () |
void | exposeODEs () |
void | exposeExplicitDynDirectSum () |
void | exposeDynamicsBase () |
void | exposeExplicitDynamics () |
void | exposeExplicitBase () |
void | exposeLinearDiscreteDynamics () |
void | exposeExplicitIntegrators () |
template<typename Base> | |
void | exposeSliceExpression (const char *name) |
template<typename LieGroup> | |
void | exposeLieGroup (const char *name, const char *docstring) |
template<typename M> | |
bp::class_< TangentBundleTpl< M >, bp::bases< Manifold > > | exposeTangentBundle (const char *name, const char *docstring) |
Expose the tangent bundle of a manifold type M . | |
template<typename M, class Init> | |
bp::class_< TangentBundleTpl< M >, bp::bases< Manifold > > | exposeTangentBundle (const char *name, const char *docstring, Init init) |
Expose the tangent bundle with an additional constructor. | |
void | exposePinocchioSpaces () |
static void | exposeEnums () |
static void | exposeContainers () |
The Python bindings.
Definition at line 14 of file expose-callbacks.cpp.
Definition at line 8 of file expose-cartesian-product.cpp.
typedef CartesianProductTpl< Scalar > aligator::python::CartesianProduct = CartesianProductTpl<Scalar> |
Definition at line 12 of file expose-cartesian-product.cpp.
Definition at line 10 of file expose-constraint-set.cpp.
Definition at line 11 of file expose-constraint-set.cpp.
Definition at line 12 of file expose-constraint-set.cpp.
Definition at line 13 of file expose-constraint-set.cpp.
Definition at line 14 of file expose-constraint-set.cpp.
typedef xyz::polymorphic< ConstraintSet > aligator::python::PolySet = xyz::polymorphic<ConstraintSet> |
Definition at line 16 of file expose-constraint-set.cpp.
Definition at line 14 of file expose-constraint.cpp.
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.
Definition at line 24 of file expose-functions.cpp.
Definition at line 25 of file expose-functions.cpp.
Definition at line 19 of file expose-manifold.cpp.
using aligator::python::QParams = QFunctionTpl<Scalar> |
Definition at line 9 of file expose-solver-fddp.cpp.
Definition at line 10 of file expose-solver-fddp.cpp.
using aligator::python::Linesearch = Linesearch<Scalar> |
Definition at line 16 of file expose-solver-prox.cpp.
using aligator::python::LinesearchOptions = Linesearch::Options |
Definition at line 17 of file expose-solver-prox.cpp.
Definition at line 14 of file expose-unary-functions.cpp.
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.
Definition at line 9 of file expose-prox-riccati.cpp.
Definition at line 10 of file expose-prox-riccati.cpp.
typedef ContactMapTpl< Scalar > aligator::python::ContactMap = ContactMapTpl<Scalar> |
Definition at line 23 of file expose-centroidal.cpp.
Definition at line 20 of file expose-composite-costs.cpp.
Definition at line 12 of file expose-cost-ops.cpp.
Definition at line 12 of file expose-direct-sum.cpp.
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.
Definition at line 33 of file context.hpp.
Definition at line 29 of file context.hpp.
Definition at line 9 of file context.hpp.
Definition at line 43 of file context.hpp.
Definition at line 42 of file context.hpp.
Definition at line 14 of file context.hpp.
Definition at line 9 of file context.hpp.
Definition at line 22 of file context.hpp.
Definition at line 9 of file context.hpp.
Definition at line 22 of file context.hpp.
Definition at line 37 of file context.hpp.
Definition at line 17 of file context.hpp.
Definition at line 26 of file context.hpp.
Definition at line 27 of file context.hpp.
Definition at line 14 of file context.hpp.
Definition at line 9 of file context.hpp.
Definition at line 28 of file context.hpp.
Definition at line 9 of file context.hpp.
Definition at line 17 of file context.hpp.
Definition at line 19 of file context.hpp.
Definition at line 18 of file context.hpp.
Definition at line 14 of file context.hpp.
Definition at line 9 of file context.hpp.
Definition at line 15 of file context.hpp.
Definition at line 9 of file context.hpp.
Definition at line 9 of file context.hpp.
Definition at line 17 of file context.hpp.
Definition at line 19 of file context.hpp.
Definition at line 18 of file context.hpp.
Definition at line 9 of file context.hpp.
Definition at line 9 of file context.hpp.
Definition at line 9 of file context.hpp.
Definition at line 9 of file context.hpp.
Definition at line 9 of file context.hpp.
Definition at line 9 of file context.hpp.
Definition at line 17 of file context.hpp.
Definition at line 19 of file context.hpp.
Definition at line 18 of file context.hpp.
Definition at line 26 of file context.hpp.
Definition at line 27 of file context.hpp.
Definition at line 14 of file context.hpp.
Definition at line 9 of file context.hpp.
Definition at line 17 of file context.hpp.
Definition at line 9 of file context.hpp.
Definition at line 9 of file context.hpp.
Definition at line 12 of file context.hpp.
Definition at line 26 of file context.hpp.
Definition at line 14 of file context.hpp.
Definition at line 9 of file context.hpp.
Definition at line 26 of file context.hpp.
Definition at line 27 of file context.hpp.
Definition at line 14 of file context.hpp.
Definition at line 9 of file context.hpp.
Definition at line 9 of file context.hpp.
Definition at line 28 of file context.hpp.
Definition at line 39 of file context.hpp.
Definition at line 29 of file context.hpp.
Definition at line 28 of file context.hpp.
Definition at line 29 of file context.hpp.
Definition at line 28 of file context.hpp.
Definition at line 39 of file context.hpp.
Definition at line 40 of file context.hpp.
Definition at line 9 of file context.hpp.
Definition at line 9 of file context.hpp.
Definition at line 28 of file context.hpp.
Definition at line 39 of file context.hpp.
Definition at line 40 of file context.hpp.
Definition at line 22 of file context.hpp.
Definition at line 25 of file context.hpp.
Definition at line 18 of file context.hpp.
Definition at line 9 of file context.hpp.
Definition at line 17 of file context.hpp.
Definition at line 19 of file context.hpp.
Definition at line 18 of file context.hpp.
Definition at line 9 of file context.hpp.
Definition at line 29 of file context.hpp.
Definition at line 28 of file context.hpp.
Definition at line 18 of file context.hpp.
Definition at line 9 of file context.hpp.
Definition at line 14 of file context.hpp.
Definition at line 16 of file context.hpp.
Definition at line 9 of file context.hpp.
Definition at line 15 of file context.hpp.
Definition at line 14 of file context.hpp.
Definition at line 9 of file context.hpp.
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 46 of file eigen-member.hpp.
bp::object aligator::python::make_setter_eigen_matrix | ( | MatrixType C::* | v, |
Policies const & | policies ) |
Definition at line 56 of file eigen-member.hpp.
bp::object aligator::python::make_setter_eigen_matrix | ( | MatrixType C::* | v | ) |
Definition at line 65 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 24 of file expose-constraint.cpp.
void aligator::python::exposeStage | ( | ) |
Expose StageModel and StageData.
Definition at line 30 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 18 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 | ( | ) |
Expose utils.
Definition at line 7 of file expose-utils.cpp.
void aligator::python::exposeFilter | ( | ) |
Expose filter strategy.
Definition at line 11 of file expose-filter.cpp.
|
inline |
Expose a polymorphic value type, e.g. xyz::polymorphic<T, A>.
Just an alias for bp::register_ptr_to_python<>().
Definition at line 23 of file polymorphic.hpp.
|
inline |
|
inline |
bool aligator::python::register_enum_symlink | ( | bool | export_values | ) |
void aligator::python::exposeHistoryCallback | ( | ) |
Definition at line 20 of file expose-callbacks.cpp.
std::vector< VectorXs > aligator::python::copy_vec_constref | ( | const std::vector< ConstVectorRef > & | x | ) |
Definition at line 14 of file expose-cartesian-product.cpp.
void aligator::python::exposeCartesianProduct | ( | ) |
Definition at line 21 of file expose-cartesian-product.cpp.
auto aligator::python::exposeSpecificConstraintSet | ( | const char * | name, |
const char * | docstring ) |
Definition at line 19 of file expose-constraint-set.cpp.
void aligator::python::exposeConstraintSets | ( | ) |
Definition at line 24 of file expose-constraint-set.cpp.
context::StageConstraint * aligator::python::make_constraint_wrap | ( | const PolyFunc & | f, |
const PolySet & | c ) |
Definition at line 17 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 15 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
Definition at line 70 of file expose-function-ops.cpp.
void aligator::python::exposeManifolds | ( | ) |
Expose manifolds.
Definition at line 24 of file expose-manifold.cpp.
void aligator::python::exposeFDDP | ( | ) |
Definition at line 16 of file expose-solver-fddp.cpp.
|
static |
Definition at line 19 of file expose-solver-prox.cpp.
void aligator::python::exposeProxDDP | ( | ) |
Definition at line 58 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 15 of file expose-stage.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 14 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::exposeConstrainedFwdDynamics | ( | ) |
Definition at line 25 of file expose-constrained-fwd.cpp.
void aligator::python::exposeODEs | ( | ) |
Definition at line 28 of file expose-ode.cpp.
void aligator::python::exposeExplicitDynDirectSum | ( | ) |
Definition at line 16 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.
void aligator::python::exposeLieGroup | ( | const char * | name, |
const char * | docstring ) |
Expose a Pinocchio Lie group with a specified name, docstring, and no-arg default constructor.
Definition at line 15 of file expose-pinocchio-manifolds.cpp.
bp::class_< TangentBundleTpl< M >, bp::bases< Manifold > > aligator::python::exposeTangentBundle | ( | const char * | name, |
const char * | docstring ) |
Expose the tangent bundle of a manifold type M
.
Definition at line 25 of file expose-pinocchio-manifolds.cpp.
bp::class_< TangentBundleTpl< M >, bp::bases< Manifold > > aligator::python::exposeTangentBundle | ( | const char * | name, |
const char * | docstring, | ||
Init | init ) |
Expose the tangent bundle with an additional constructor.
Definition at line 39 of file expose-pinocchio-manifolds.cpp.
void aligator::python::exposePinocchioSpaces | ( | ) |
Definition at line 43 of file expose-pinocchio-manifolds.cpp.
|
static |
Definition at line 18 of file module.cpp.
|
static |
Definition at line 61 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.