context/cppadcg.hpp
Go to the documentation of this file.
1 //
2 // Copyright (c) 2022 INRIA
3 //
4 
5 #ifndef __pinocchio_context_cppadcg_hpp__
6 #define __pinocchio_context_cppadcg_hpp__
7 
8 #include <cppad/cg/support/cppadcg_eigen.hpp>
9 #include <cppad/cppad.hpp>
10 
11 #define PINOCCHIO_SKIP_ALGORITHM_CONSTRAINED_DYNAMICS_DERIVATIVES
12 #define PINOCCHIO_SKIP_ALGORITHM_CONSTRAINED_DYNAMICS
13 #define PINOCCHIO_SKIP_ALGORITHM_CONTACT_DYNAMICS
14 #define PINOCCHIO_SKIP_ALGORITHM_CONTACT_CHOLESKY
15 #define PINOCCHIO_SKIP_ALGORITHM_CONTACT_JACOBIAN
16 #define PINOCCHIO_SKIP_ALGORITHM_CHOLESKY
17 #define PINOCCHIO_SKIP_MULTIBODY_SAMPLE_MODELS
18 
19 namespace pinocchio
20 {
21  // forward declarations which are necessary to include pinocchio/autodiff/cppadcg.hpp
22  template<typename _Scalar, int _Options>
23  struct MotionZeroTpl;
24  template<typename _Scalar, int _Options>
25  class ForceTpl;
26  template<typename _Scalar, int _Options>
27  class MotionTpl;
28  template<typename _Scalar, int _Options>
29  struct SE3Tpl;
30 
31  template<typename Derived>
32  class ForceBase;
33  template<typename Derived>
34  class ForceDense;
35  template<typename Derived>
36  class MotionDense;
37  template<typename Vector6>
38  class MotionRef;
39 
40  typedef MotionTpl<::CppAD::AD<CppAD::cg::CG<double>>, 0> Motion;
41 
42  namespace internal
43  {
44  template<typename Class, typename NewScalar, typename Scalar>
45  struct cast_call_normalize_method;
46  template<typename Type, typename Scalar>
47  struct RHSScalarMultiplication;
48  template<typename Type, typename Scalar>
49  struct LHSScalarMultiplication;
50  } // namespace internal
51 
52 } // namespace pinocchio
53 
55 #define PINOCCHIO_SCALAR_TYPE ::CppAD::AD<CppAD::cg::CG<double>>
57 
58 #undef PINOCCHIO_SCALAR_TYPE
59 #endif // #ifndef __pinocchio_context_cppadcg_hpp__
cppadcg.hpp
generic.hpp
pinocchio::Motion
MotionTpl<::CppAD::AD< double >, 0 > Motion
Definition: context/cppad.hpp:37
pinocchio
Main pinocchio namespace.
Definition: timings.cpp:27


pinocchio
Author(s):
autogenerated on Thu Dec 19 2024 03:41:28