6#include <proxsuite-nlp/fwd.hpp>
7#include <proxsuite-nlp/config.hpp>
9#ifdef ALIGATOR_WITH_PINOCCHIO
10#include <pinocchio/config.hpp>
11#if PINOCCHIO_VERSION_AT_LEAST(3, 0, 0)
12#define ALIGATOR_PINOCCHIO_V3
20#include "aligator/config.hpp"
21#include "aligator/deprecated.hpp"
23#define ALIGATOR_RAISE_IF_NAN(value) \
24 if (::aligator::math::check_value(value)) \
25 ALIGATOR_RUNTIME_ERROR("Encountered NaN.\n")
27#define ALIGATOR_RAISE_IF_NAN_NAME(value, name) \
28 if (::aligator::math::check_value(value)) \
29 ALIGATOR_RUNTIME_ERROR("Encountered NaN for variable {:s}\n", name)
37#if PROXSUITE_NLP_VERSION_AT_LEAST(0, 9, 0)
38using proxsuite::nlp::ConstraintSetTpl;
43using proxsuite::nlp::ManifoldAbstractTpl;
45using proxsuite::nlp::VerboseLevel;
47using VerboseLevel::QUIET;
48using VerboseLevel::VERBOSE;
49using VerboseLevel::VERYVERBOSE;
135 "Aligator now requires C++17 and the Eigen::aligned_allocator<T> class is "
136 "no longer useful. Please use std::vector<T> instead, this typedef will "
137 "change to be an alias of that of the future, then will be removed.") =
138 std::vector<T, Eigen::aligned_allocator<T>>;
140template <
typename T,
typename... Args>
142 "Aligator now requires C++17 and the Eigen::aligned_allocator<T> class is "
143 "no longer useful. This function is now just an alias for "
144 "std::make_shared, and will be removed in the future.")
145inline auto allocate_shared_eigen_aligned(Args &&...args) {
146 return std::make_shared<T>(std::forward<Args>(args)...);
ALIGATOR_DEPRECATED_MESSAGE("Aligator now requires C++17 and the Eigen::aligned_allocator<T> class is " "no longer useful. This function is now just an alias for " "std::make_shared, and will be removed in the future.") inline auto allocate_shared_eigen_aligned(Args &&...args)
proxsuite::nlp::ConstraintSetBase< T > ConstraintSetTpl
TYPEDEFS FROM PROXNLP.
Convenience class to manage a stack of constraints.
Stage costs for control problems.
Data struct for CostAbstractTpl.
Dynamics model: describes system dynamics through an implicit relation .
Specific data struct for explicit dynamics ExplicitDynamicsModelTpl.
Explicit forward dynamics model .
A basic filter line-search strategy.
Represents a function of which the output is a subset of another function, for instance where is gi...
The feasible DDP (FDDP) algorithm, from Mastalli et al. (2020).
A proximal, augmented Lagrangian-type solver for trajectory optimization.
Simple struct holding together a function and set, to describe a constraint.
Data struct for stage models StageModelTpl.
Base struct for function data.
Class representing ternary functions .
A stage in the control problem.
Trajectory optimization problem.
Represents unary functions of the form , with no control (or next-state) arguments.
Base workspace struct for the algorithms.
Workspace for solver SolverProxDDP.