algorithm/aba.hpp
Go to the documentation of this file.
1 //
2 // Copyright (c) 2016-2021 CNRS INRIA
3 //
4 
5 #ifndef __pinocchio_algorithm_aba_hpp__
6 #define __pinocchio_algorithm_aba_hpp__
7 
11 
12 namespace pinocchio
13 {
34  template<
35  typename Scalar,
36  int Options,
37  template<typename, int> class JointCollectionTpl,
38  typename ConfigVectorType,
39  typename TangentVectorType1,
40  typename TangentVectorType2>
42  const ModelTpl<Scalar, Options, JointCollectionTpl> & model,
43  DataTpl<Scalar, Options, JointCollectionTpl> & data,
44  const Eigen::MatrixBase<ConfigVectorType> & q,
45  const Eigen::MatrixBase<TangentVectorType1> & v,
46  const Eigen::MatrixBase<TangentVectorType2> & tau,
47  const Convention convention = Convention::LOCAL);
48 
71  template<
72  typename Scalar,
73  int Options,
74  template<typename, int> class JointCollectionTpl,
75  typename ConfigVectorType,
76  typename TangentVectorType1,
77  typename TangentVectorType2,
78  typename ForceDerived>
80  const ModelTpl<Scalar, Options, JointCollectionTpl> & model,
81  DataTpl<Scalar, Options, JointCollectionTpl> & data,
82  const Eigen::MatrixBase<ConfigVectorType> & q,
83  const Eigen::MatrixBase<TangentVectorType1> & v,
84  const Eigen::MatrixBase<TangentVectorType2> & tau,
85  const container::aligned_vector<ForceDerived> & fext,
86  const Convention rf = Convention::LOCAL);
87 
101  template<
102  typename Scalar,
103  int Options,
104  template<typename, int> class JointCollectionTpl,
105  typename ConfigVectorType>
107  const ModelTpl<Scalar, Options, JointCollectionTpl> & model,
108  DataTpl<Scalar, Options, JointCollectionTpl> & data,
109  const Eigen::MatrixBase<ConfigVectorType> & q);
110 
124  template<typename Scalar, int Options, template<typename, int> class JointCollectionTpl>
126  const ModelTpl<Scalar, Options, JointCollectionTpl> & model,
127  DataTpl<Scalar, Options, JointCollectionTpl> & data);
128 
130 
131 } // namespace pinocchio
132 
133 /* --- Details -------------------------------------------------------------------- */
134 #include "pinocchio/algorithm/aba.hxx"
135 
136 #if PINOCCHIO_ENABLE_TEMPLATE_INSTANTIATION
137  #include "pinocchio/algorithm/aba.txx"
138 #endif // PINOCCHIO_ENABLE_TEMPLATE_INSTANTIATION
139 
140 #endif // ifndef __pinocchio_algorithm_aba_hpp__
pinocchio::DataTpl::TangentVectorType
VectorXs TangentVectorType
Dense vectorized version of a joint tangent vector (e.g. velocity, acceleration, etc)....
Definition: multibody/data.hpp:89
pinocchio::DataTpl::RowMatrixXs
Eigen::Matrix< Scalar, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor|Options > RowMatrixXs
Definition: multibody/data.hpp:99
pinocchio::Options
Options
Definition: joint-configuration.hpp:1082
model.hpp
setup.data
data
Definition: cmake/cython/setup.in.py:48
pinocchio::python::Scalar
context::Scalar Scalar
Definition: admm-solver.cpp:29
pinocchio::aba
const DataTpl< Scalar, Options, JointCollectionTpl >::TangentVectorType & aba(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, DataTpl< Scalar, Options, JointCollectionTpl > &data, const Eigen::MatrixBase< ConfigVectorType > &q, const Eigen::MatrixBase< TangentVectorType1 > &v, const Eigen::MatrixBase< TangentVectorType2 > &tau, const Convention convention=Convention::LOCAL)
The Articulated-Body algorithm. It computes the forward dynamics, aka the joint accelerations given t...
pinocchio::computeMinverse
const DataTpl< Scalar, Options, JointCollectionTpl >::RowMatrixXs & computeMinverse(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, DataTpl< Scalar, Options, JointCollectionTpl > &data, const Eigen::MatrixBase< ConfigVectorType > &q)
Computes the inverse of the joint space inertia matrix using Articulated Body formulation.
forward-dynamics-derivatives.tau
tau
Definition: forward-dynamics-derivatives.py:25
pinocchio::Convention
Convention
List of convention to call algorithms.
Definition: multibody/fwd.hpp:73
data.hpp
pinocchio::PINOCCHIO_DEFINE_ALGO_CHECKER
PINOCCHIO_DEFINE_ALGO_CHECKER(ABA)
pinocchio::q
JointCollectionTpl const Eigen::MatrixBase< ConfigVectorType > & q
Definition: joint-configuration.hpp:1083
pinocchio::v
JointCollectionTpl const Eigen::MatrixBase< ConfigVectorType > const Eigen::MatrixBase< TangentVectorType > & v
Definition: joint-configuration.hpp:1084
check.hpp
pinocchio::Convention::LOCAL
@ LOCAL
pinocchio::model
JointCollectionTpl & model
Definition: joint-configuration.hpp:1082
pinocchio
Main pinocchio namespace.
Definition: timings.cpp:27


pinocchio
Author(s):
autogenerated on Fri Nov 1 2024 02:41:38