frames-derivatives.hpp
Go to the documentation of this file.
1 //
2 // Copyright (c) 2020 INRIA
3 //
4 
5 #ifndef __pinocchio_algorithm_frames_derivatives_hpp__
6 #define __pinocchio_algorithm_frames_derivatives_hpp__
7 
8 #include "pinocchio/multibody/model.hpp"
9 #include "pinocchio/multibody/data.hpp"
10 
11 namespace pinocchio
12 {
29  template<typename Scalar, int Options, template<typename,int> class JointCollectionTpl, typename Matrix6xOut1, typename Matrix6xOut2>
30  void
31  getFrameVelocityDerivatives(const ModelTpl<Scalar,Options,JointCollectionTpl> & model,
32  DataTpl<Scalar,Options,JointCollectionTpl> & data,
33  const FrameIndex frame_id,
34  const ReferenceFrame rf,
35  const Eigen::MatrixBase<Matrix6xOut1> & v_partial_dq,
36  const Eigen::MatrixBase<Matrix6xOut2> & v_partial_dv);
37 
59  template<typename Scalar, int Options, template<typename,int> class JointCollectionTpl, typename Matrix6xOut1, typename Matrix6xOut2, typename Matrix6xOut3, typename Matrix6xOut4>
60  void
61  getFrameAccelerationDerivatives(const ModelTpl<Scalar,Options,JointCollectionTpl> & model,
62  DataTpl<Scalar,Options,JointCollectionTpl> & data,
63  const FrameIndex frame_id,
64  const ReferenceFrame rf,
65  const Eigen::MatrixBase<Matrix6xOut1> & v_partial_dq,
66  const Eigen::MatrixBase<Matrix6xOut2> & a_partial_dq,
67  const Eigen::MatrixBase<Matrix6xOut3> & a_partial_dv,
68  const Eigen::MatrixBase<Matrix6xOut4> & a_partial_da);
69 
93  template<typename Scalar, int Options, template<typename,int> class JointCollectionTpl, typename Matrix6xOut1, typename Matrix6xOut2, typename Matrix6xOut3, typename Matrix6xOut4, typename Matrix6xOut5>
94  void
95  getFrameAccelerationDerivatives(const ModelTpl<Scalar,Options,JointCollectionTpl> & model,
96  DataTpl<Scalar,Options,JointCollectionTpl> & data,
97  const FrameIndex frame_id,
98  const ReferenceFrame rf,
99  const Eigen::MatrixBase<Matrix6xOut1> & v_partial_dq,
100  const Eigen::MatrixBase<Matrix6xOut2> & v_partial_dv,
101  const Eigen::MatrixBase<Matrix6xOut3> & a_partial_dq,
102  const Eigen::MatrixBase<Matrix6xOut4> & a_partial_dv,
103  const Eigen::MatrixBase<Matrix6xOut5> & a_partial_da);
104 }
105 
106 #include "pinocchio/algorithm/frames-derivatives.hxx"
107 
108 #endif // ifndef __pinocchio_algorithm_frames_derivatives_hpp__
ReferenceFrame
List of Reference Frames supported by Pinocchio.
void getFrameAccelerationDerivatives(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, DataTpl< Scalar, Options, JointCollectionTpl > &data, const FrameIndex frame_id, const ReferenceFrame rf, const Eigen::MatrixBase< Matrix6xOut1 > &v_partial_dq, const Eigen::MatrixBase< Matrix6xOut2 > &a_partial_dq, const Eigen::MatrixBase< Matrix6xOut3 > &a_partial_dv, const Eigen::MatrixBase< Matrix6xOut4 > &a_partial_da)
Computes the partial derivatives of the frame acceleration quantity with respect to q...
Main pinocchio namespace.
Definition: timings.cpp:30
void getFrameVelocityDerivatives(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, DataTpl< Scalar, Options, JointCollectionTpl > &data, const FrameIndex frame_id, const ReferenceFrame rf, const Eigen::MatrixBase< Matrix6xOut1 > &v_partial_dq, const Eigen::MatrixBase< Matrix6xOut2 > &v_partial_dv)
Computes the partial derivatives of the frame velocity quantity with respect to q and v...
JointCollectionTpl & model


pinocchio
Author(s):
autogenerated on Tue Jun 1 2021 02:45:03