6#include <proxsuite-nlp/fwd.hpp>
7#include <proxsuite-nlp/config.hpp>
9#ifdef ALIGATOR_WITH_PINOCCHIO
10#include <pinocchio/config.hpp>
17#include "aligator/config.hpp"
18#include "aligator/deprecated.hpp"
20#define ALIGATOR_RAISE_IF_NAN(value) \
21 if (::aligator::math::check_value(value)) \
22 ALIGATOR_RUNTIME_ERROR("Encountered NaN.\n")
24#define ALIGATOR_RAISE_IF_NAN_NAME(value, name) \
25 if (::aligator::math::check_value(value)) \
26 ALIGATOR_RUNTIME_ERROR("Encountered NaN for variable {:s}\n", name)
34#if PROXSUITE_NLP_VERSION_AT_LEAST(0, 9, 0)
35using proxsuite::nlp::ConstraintSetTpl;
40using proxsuite::nlp::ManifoldAbstractTpl;
42using proxsuite::nlp::VerboseLevel;
44using VerboseLevel::QUIET;
45using VerboseLevel::VERBOSE;
46using VerboseLevel::VERYVERBOSE;
132 "Aligator now requires C++17 and the Eigen::aligned_allocator<T> class is "
133 "no longer useful. Please use std::vector<T> instead, this typedef will "
134 "change to be an alias of that of the future, then will be removed.") =
135 std::vector<T, Eigen::aligned_allocator<T>>;
137template <
typename T,
typename... Args>
139 "Aligator now requires C++17 and the Eigen::aligned_allocator<T> class is "
140 "no longer useful. This function is now just an alias for "
141 "std::make_shared, and will be removed in the future.")
142inline auto allocate_shared_eigen_aligned(Args &&...args) {
143 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.