4#include <proxsuite-nlp/manifold-base.hpp>
6#include <crocoddyl/core/state-base.hpp>
7#include <boost/shared_ptr.hpp>
13template <
typename _Scalar>
17 using PointType = Eigen::Matrix<Scalar, Eigen::Dynamic, 1>;
34 VectorRef out)
const {
39 MatrixRef Jout,
int arg)
const {
44 VectorRef out)
const {
49 MatrixRef Jout,
int arg)
const {
54 MatrixRef Jout,
int arg)
const {
60 return crocoddyl::first;
61 }
else if (arg == 1) {
62 return crocoddyl::second;
64 return crocoddyl::both;
69#ifdef ALIGATOR_ENABLE_TEMPLATE_INSTANTIATION
70extern template struct StateWrapperTpl<context::Scalar>;
Headers for the Crocoddyl compatibility module.
Wraps a crocoddyl::StateAbstractTpl to a manifold (proxsuite::nlp::ManifoldAbstractTpl).
Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > TangentVectorType
static crocoddyl::Jcomponent convert_to_firstsecond(int arg)
crocoddyl::StateAbstractTpl< Scalar > StateAbstract
void Jdifference_impl(const ConstVectorRef &x0, const ConstVectorRef &x1, MatrixRef Jout, int arg) const
ALIGATOR_DYNAMIC_TYPEDEFS(Scalar)
void JintegrateTransport(const ConstVectorRef &x, const ConstVectorRef &v, MatrixRef Jout, int arg) const
void difference_impl(const ConstVectorRef &x0, const ConstVectorRef &x1, VectorRef out) const
PointType neutral() const
Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > PointType
void Jintegrate_impl(const ConstVectorRef &x, const ConstVectorRef &v, MatrixRef Jout, int arg) const
StateWrapperTpl(const boost::shared_ptr< StateAbstract > &state)
boost::shared_ptr< StateAbstract > croc_state
void integrate_impl(const ConstVectorRef &x, const ConstVectorRef &v, VectorRef out) const