aligator  0.9.0
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
Loading...
Searching...
No Matches
dynamics-wrap.hpp
Go to the documentation of this file.
1
3#pragma once
4
7#include <crocoddyl/core/action-base.hpp>
8
9namespace aligator {
10namespace compat {
11namespace croc {
12
13template <typename Scalar>
14struct DynamicsDataWrapperTpl : ExplicitDynamicsDataTpl<Scalar> {
16 using CrocActionModel = crocoddyl::ActionModelAbstractTpl<Scalar>;
17 explicit DynamicsDataWrapperTpl(const CrocActionModel &action_model)
18 : Base((int)action_model.get_state()->get_ndx(),
19 (int)action_model.get_nu(),
20 (int)action_model.get_state()->get_nx(),
21 (int)action_model.get_state()->get_ndx()) {}
22};
23
24} // namespace croc
25} // namespace compat
26} // namespace aligator
Main package namespace.
Specific data struct for explicit dynamics ExplicitDynamicsModelTpl.
Definition fwd.hpp:83
DynamicsDataWrapperTpl(const CrocActionModel &action_model)
crocoddyl::ActionModelAbstractTpl< Scalar > CrocActionModel