pinocchio  2.3.1-dirty
kinematics.hpp
1 //
2 // Copyright (c) 2015-2019 CNRS INRIA
3 //
4 
5 #ifndef __pinocchio_kinematics_hpp__
6 #define __pinocchio_kinematics_hpp__
7 
8 #include "pinocchio/multibody/model.hpp"
9 #include "pinocchio/multibody/data.hpp"
10 
11 namespace pinocchio
12 {
13 
26  template<typename Scalar, int Options, template<typename,int> class JointCollectionTpl>
27  inline void updateGlobalPlacements(const ModelTpl<Scalar,Options,JointCollectionTpl> & model,
28  DataTpl<Scalar,Options,JointCollectionTpl> & data);
29 
40  template<typename Scalar, int Options, template<typename,int> class JointCollectionTpl, typename ConfigVectorType>
41  inline void forwardKinematics(const ModelTpl<Scalar,Options,JointCollectionTpl> & model,
42  DataTpl<Scalar,Options,JointCollectionTpl> & data,
43  const Eigen::MatrixBase<ConfigVectorType> & q);
44 
57  template<typename Scalar, int Options, template<typename,int> class JointCollectionTpl, typename ConfigVectorType, typename TangentVectorType>
58  inline void forwardKinematics(const ModelTpl<Scalar,Options,JointCollectionTpl> & model,
59  DataTpl<Scalar,Options,JointCollectionTpl> & data,
60  const Eigen::MatrixBase<ConfigVectorType> & q,
61  const Eigen::MatrixBase<TangentVectorType> & v);
76  template<typename Scalar, int Options, template<typename,int> class JointCollectionTpl, typename ConfigVectorType, typename TangentVectorType1, typename TangentVectorType2>
77  inline void forwardKinematics(const ModelTpl<Scalar,Options,JointCollectionTpl> & model,
78  DataTpl<Scalar,Options,JointCollectionTpl> & data,
79  const Eigen::MatrixBase<ConfigVectorType> & q,
80  const Eigen::MatrixBase<TangentVectorType1> & v,
81  const Eigen::MatrixBase<TangentVectorType2> & a);
82 
83 } // namespace pinocchio
84 
85 /* --- Details -------------------------------------------------------------------- */
86 /* --- Details -------------------------------------------------------------------- */
87 /* --- Details -------------------------------------------------------------------- */
88 #include "pinocchio/algorithm/kinematics.hxx"
89 
90 
91 #endif // ifndef __pinocchio_kinematics_hpp__
void forwardKinematics(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, DataTpl< Scalar, Options, JointCollectionTpl > &data, const Eigen::MatrixBase< ConfigVectorType > &q)
Update the joint placements according to the current joint configuration.
void updateGlobalPlacements(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, DataTpl< Scalar, Options, JointCollectionTpl > &data)
Update the global placement of the joints oMi according to the relative placements of the joints...
Main pinocchio namespace.
Definition: treeview.dox:24