5#ifndef __pinocchio_kinematics_hpp__ 6#define __pinocchio_kinematics_hpp__ 8#include "pinocchio/multibody/model.hpp" 9#include "pinocchio/multibody/data.hpp" 26 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
44 template<
typename,
int>
class JointCollectionTpl,
45 typename ConfigVectorType>
49 const Eigen::MatrixBase<ConfigVectorType> & q);
67 template<
typename,
int>
class JointCollectionTpl,
68 typename ConfigVectorType,
69 typename TangentVectorType>
73 const Eigen::MatrixBase<ConfigVectorType> & q,
74 const Eigen::MatrixBase<TangentVectorType> & v);
93 template<
typename,
int>
class JointCollectionTpl,
94 typename ConfigVectorType,
95 typename TangentVectorType1,
96 typename TangentVectorType2>
100 const Eigen::MatrixBase<ConfigVectorType> & q,
101 const Eigen::MatrixBase<TangentVectorType1> & v,
102 const Eigen::MatrixBase<TangentVectorType2> & a);
122 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
126 const JointIndex jointIdRef,
127 const JointIndex jointIdTarget,
144 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
148 const JointIndex jointId,
165 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
169 const JointIndex jointId,
187 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
191 const JointIndex jointId,
199#include "pinocchio/algorithm/kinematics.hxx" 201#if PINOCCHIO_ENABLE_TEMPLATE_INSTANTIATION 202 #include "pinocchio/algorithm/kinematics.txx" Convention
List of convention to call algorithms.
ReferenceFrame
Various conventions to express the velocity of a moving frame.
Main pinocchio namespace.
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.
MotionTpl< Scalar, Options > getVelocity(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, const DataTpl< Scalar, Options, JointCollectionTpl > &data, const JointIndex jointId, const ReferenceFrame rf=LOCAL)
Returns the spatial velocity of the joint expressed in the desired reference frame....
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.
MotionTpl< Scalar, Options > getAcceleration(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, const DataTpl< Scalar, Options, JointCollectionTpl > &data, const JointIndex jointId, const ReferenceFrame rf=LOCAL)
Returns the spatial acceleration of the joint expressed in the desired reference frame....
SE3Tpl< Scalar, Options > getRelativePlacement(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, const DataTpl< Scalar, Options, JointCollectionTpl > &data, const JointIndex jointIdRef, const JointIndex jointIdTarget, const Convention convention=Convention::LOCAL)
Returns the relative placement of two joints expressed in the desired reference frame....
MotionTpl< Scalar, Options > getClassicalAcceleration(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, const DataTpl< Scalar, Options, JointCollectionTpl > &data, const JointIndex jointId, const ReferenceFrame rf=LOCAL)
Returns the "classical" acceleration of the joint expressed in the desired reference frame....