5 #ifndef __pinocchio_frames_hpp__ 6 #define __pinocchio_frames_hpp__ 8 #include "pinocchio/multibody/model.hpp" 9 #include "pinocchio/multibody/data.hpp" 24 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
26 DataTpl<Scalar,Options,JointCollectionTpl> & data);
39 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
40 inline const typename DataTpl<Scalar,Options,JointCollectionTpl>::SE3 &
42 DataTpl<Scalar,Options,JointCollectionTpl> & data,
43 const typename ModelTpl<Scalar,Options,JointCollectionTpl>::FrameIndex frame_id);
57 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl,
typename ConfigVectorType>
59 DataTpl<Scalar,Options,JointCollectionTpl> & data,
60 const Eigen::MatrixBase<ConfigVectorType> & q);
75 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
76 inline MotionTpl<Scalar, Options>
78 const DataTpl<Scalar,Options,JointCollectionTpl> & data,
79 const typename ModelTpl<Scalar,Options,JointCollectionTpl>::FrameIndex frame_id);
94 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl,
typename MotionLike>
98 const typename ModelTpl<Scalar,Options,JointCollectionTpl>::FrameIndex frame_id,
116 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
120 const typename ModelTpl<Scalar,Options,JointCollectionTpl>::FrameIndex frame_id);
135 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl,
typename MotionLike>
139 const typename ModelTpl<Scalar,Options,JointCollectionTpl>::FrameIndex frame_id,
163 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl,
typename Matrix6xLike>
166 const typename ModelTpl<Scalar,Options,JointCollectionTpl>::FrameIndex frame_id,
167 const ReferenceFrame rf,
168 const Eigen::MatrixBase<Matrix6xLike> & J);
190 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl,
typename ConfigVectorType,
typename Matrix6Like>
193 const Eigen::MatrixBase<ConfigVectorType> & q,
194 const FrameIndex frameId,
195 const Eigen::MatrixBase<Matrix6Like> & J);
217 template<ReferenceFrame rf>
221 const Model::FrameIndex frame_id,
240 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl,
typename Matrix6xLike>
244 const typename ModelTpl<Scalar,Options,JointCollectionTpl>::FrameIndex frame_id,
245 const Eigen::MatrixBase<Matrix6xLike> & J);
260 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl,
typename Matrix6xLike>
263 const typename ModelTpl<Scalar,Options,JointCollectionTpl>::FrameIndex frame_id,
264 const ReferenceFrame rf,
265 const Eigen::MatrixBase<Matrix6xLike> & dJ);
280 template<ReferenceFrame rf>
284 const Model::FrameIndex frameId,
293 #include "pinocchio/algorithm/frames.hxx" 295 #endif // ifndef __pinocchio_frames_hpp__ MotionTpl< Scalar, Options > getFrameVelocity(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, const DataTpl< Scalar, Options, JointCollectionTpl > &data, const typename ModelTpl< Scalar, Options, JointCollectionTpl >::FrameIndex frame_id)
Returns the spatial velocity of the frame expressed in the LOCAL frame coordinate system...
void getFrameJacobianTimeVariation(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, const DataTpl< Scalar, Options, JointCollectionTpl > &data, const typename ModelTpl< Scalar, Options, JointCollectionTpl >::FrameIndex frame_id, const ReferenceFrame rf, const Eigen::MatrixBase< Matrix6xLike > &dJ)
Computes the Jacobian time variation of a specific frame (given by frame_id) expressed either in the ...
const DataTpl< Scalar, Options, JointCollectionTpl >::SE3 & updateFramePlacement(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, DataTpl< Scalar, Options, JointCollectionTpl > &data, const typename ModelTpl< Scalar, Options, JointCollectionTpl >::FrameIndex frame_id)
Updates the placement of the given frame.
void frameJacobian(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, DataTpl< Scalar, Options, JointCollectionTpl > &data, const Eigen::MatrixBase< ConfigVectorType > &q, const FrameIndex frameId, const Eigen::MatrixBase< Matrix6Like > &J)
Computes the Jacobian of a specific Frame expressed in the LOCAL frame coordinate system...
MotionTpl< Scalar, Options > getFrameAcceleration(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, const DataTpl< Scalar, Options, JointCollectionTpl > &data, const typename ModelTpl< Scalar, Options, JointCollectionTpl >::FrameIndex frame_id)
Returns the spatial acceleration of the frame expressed in the LOCAL frame coordinate system...
Eigen::Matrix< Scalar, 6, Eigen::Dynamic, Options > Matrix6x
The 6d jacobian type (temporary)
Main pinocchio namespace.
void updateFramePlacements(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, DataTpl< Scalar, Options, JointCollectionTpl > &data)
Updates the position of each frame contained in the model.
void getFrameJacobian(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, const DataTpl< Scalar, Options, JointCollectionTpl > &data, const typename ModelTpl< Scalar, Options, JointCollectionTpl >::FrameIndex frame_id, const ReferenceFrame rf, const Eigen::MatrixBase< Matrix6xLike > &J)
Returns the jacobian of the frame expressed either expressed in the LOCAL frame coordinate system or ...
void framesForwardKinematics(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, DataTpl< Scalar, Options, JointCollectionTpl > &data, const Eigen::MatrixBase< ConfigVectorType > &q)
First calls the forwardKinematics on the model, then computes the placement of each frame...