include
pinocchio
bindings
python
context
bindings/python/context/cppadcg.hpp
Go to the documentation of this file.
1
//
2
// Copyright (c) 2022 INRIA
3
//
4
5
#ifndef __pinocchio_python_context_cppadcg_hpp__
6
#define __pinocchio_python_context_cppadcg_hpp__
7
8
#include "
pinocchio/codegen/cppadcg.hpp
"
9
10
#define PINOCCHIO_PYTHON_SCALAR_TYPE ::CppAD::AD<CppAD::cg::CG<double>>
11
#include "
pinocchio/bindings/python/context/generic.hpp
"
12
#undef PINOCCHIO_PYTHON_SCALAR_TYPE
13
14
#define PINOCCHIO_PYTHON_SKIP_COMPARISON_OPERATIONS
15
#define PINOCCHIO_PYTHON_NO_SERIALIZATION
16
#define PINOCCHIO_PYTHON_SKIP_REACHABLE_WORKSPACE
17
18
#include <
eigenpy/eigenpy.hpp
>
19
#include <
eigenpy/user-type.hpp
>
20
21
namespace
pinocchio
22
{
23
namespace
python
24
{
25
inline
void
exposeSpecificTypeFeatures
()
26
{
27
boost::python::import(
"pycppad"
);
28
};
29
30
inline
boost::python::object
getScalarType
()
31
{
32
return
eigenpy::getInstanceClass<context::Scalar>();
33
}
34
35
}
// namespace python
36
}
// namespace pinocchio
37
38
#endif // #ifndef __pinocchio_python_context_cppadcg_hpp__
cppadcg.hpp
eigenpy.hpp
pinocchio::python::getScalarType
boost::python::object getScalarType()
Definition:
boost_number.cpp:19
pinocchio::python::exposeSpecificTypeFeatures
void exposeSpecificTypeFeatures()
Definition:
boost_number.cpp:14
python
user-type.hpp
generic.hpp
pinocchio
Main pinocchio namespace.
Definition:
timings.cpp:27
pinocchio
Author(s):
autogenerated on Thu Dec 19 2024 03:41:28