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
5
#include "
aligator/compat/crocoddyl/fwd.hpp
"
6
#include "
aligator/core/explicit-dynamics.hpp
"
7
#include <crocoddyl/core/action-base.hpp>
8
9
namespace
aligator
{
10
namespace
compat {
11
namespace
croc {
12
13
template
<
typename
Scalar>
14
struct
DynamicsDataWrapperTpl : ExplicitDynamicsDataTpl<Scalar> {
15
using
Base
=
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
fwd.hpp
explicit-dynamics.hpp
aligator
Main package namespace.
Definition
action-model-wrap.hpp:14
aligator::ExplicitDynamicsDataTpl
Specific data struct for explicit dynamics ExplicitDynamicsModelTpl.
Definition
fwd.hpp:83
aligator::compat::croc::DynamicsDataWrapperTpl::DynamicsDataWrapperTpl
DynamicsDataWrapperTpl(const CrocActionModel &action_model)
Definition
dynamics-wrap.hpp:17
aligator::compat::croc::DynamicsDataWrapperTpl::CrocActionModel
crocoddyl::ActionModelAbstractTpl< Scalar > CrocActionModel
Definition
dynamics-wrap.hpp:16
include
aligator
compat
crocoddyl
dynamics-wrap.hpp
Generated by
1.11.0