Go to the documentation of this file.
5 #ifndef __pinocchio_algorithm_frames_hpp__
6 #define __pinocchio_algorithm_frames_hpp__
24 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
26 const ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
27 DataTpl<Scalar, Options, JointCollectionTpl> &
data);
40 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
42 const ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
43 DataTpl<Scalar, Options, JointCollectionTpl> &
data,
60 template<
typename,
int>
61 class JointCollectionTpl,
62 typename ConfigVectorType>
64 const ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
65 DataTpl<Scalar, Options, JointCollectionTpl> &
data,
66 const Eigen::MatrixBase<ConfigVectorType> &
q);
84 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
86 const ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
87 const DataTpl<Scalar, Options, JointCollectionTpl> &
data,
89 const SE3Tpl<Scalar, Options> &
placement,
107 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
136 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
138 const ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
139 const DataTpl<Scalar, Options, JointCollectionTpl> &
data,
141 const SE3Tpl<Scalar, Options> &
placement,
165 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
194 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
196 const ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
197 const DataTpl<Scalar, Options, JointCollectionTpl> &
data,
199 const SE3Tpl<Scalar, Options> &
placement,
225 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
268 template<
typename,
int>
269 class JointCollectionTpl,
270 typename Matrix6xLike>
272 const ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
273 DataTpl<Scalar, Options, JointCollectionTpl> &
data,
275 const SE3Tpl<Scalar, Options> &
placement,
277 const Eigen::MatrixBase<Matrix6xLike> &
J);
303 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
311 typedef Eigen::Matrix<Scalar, 6, Eigen::Dynamic, Options>
Matrix6x;
348 template<
typename,
int>
349 class JointCollectionTpl,
350 typename Matrix6xLike>
356 const Eigen::MatrixBase<Matrix6xLike> &
J)
396 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
403 typedef Eigen::Matrix<Scalar, 6, Eigen::Dynamic, Options>
Matrix6x;
438 template<
typename,
int>
439 class JointCollectionTpl,
440 typename ConfigVectorType,
441 typename Matrix6xLike>
443 const ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
444 DataTpl<Scalar, Options, JointCollectionTpl> &
data,
445 const Eigen::MatrixBase<ConfigVectorType> &
q,
448 const Eigen::MatrixBase<Matrix6xLike> &
J);
477 template<
typename,
int>
478 class JointCollectionTpl,
479 typename ConfigVectorType,
480 typename Matrix6xLike>
484 const Eigen::MatrixBase<ConfigVectorType> &
q,
486 const Eigen::MatrixBase<Matrix6xLike> &
J)
513 template<
typename,
int>
514 class JointCollectionTpl,
515 typename Matrix6xLike>
517 const ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
518 DataTpl<Scalar, Options, JointCollectionTpl> &
data,
521 const Eigen::MatrixBase<Matrix6xLike> & dJ);
556 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
558 const ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
559 const DataTpl<Scalar, Options, JointCollectionTpl> &
data,
596 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
598 const ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
599 const DataTpl<Scalar, Options, JointCollectionTpl> &
data,
605 #include "pinocchio/algorithm/frames.hxx"
607 #if PINOCCHIO_ENABLE_TEMPLATE_INSTANTIATION
608 #include "pinocchio/algorithm/frames.txx"
609 #endif // PINOCCHIO_ENABLE_TEMPLATE_INSTANTIATION
611 #endif // ifndef __pinocchio_algorithm_frames_hpp__
#define PINOCCHIO_CHECK_INPUT_ARGUMENT(...)
Macro to check an assert-like condition and throw a std::invalid_argument exception (with a message) ...
void getFrameJacobian(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, DataTpl< Scalar, Options, JointCollectionTpl > &data, const JointIndex joint_id, const SE3Tpl< Scalar, Options > &placement, const ReferenceFrame reference_frame, const Eigen::MatrixBase< Matrix6xLike > &J)
Returns the jacobian of the frame given by its relative placement w.r.t. a joint frame,...
ReferenceFrame
Various conventions to express the velocity of a moving frame.
#define PINOCCHIO_EIGEN_CONST_CAST(TYPE, OBJ)
Macro for an automatic const_cast.
MotionTpl< Scalar, Options > getFrameVelocity(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, const DataTpl< Scalar, Options, JointCollectionTpl > &data, const JointIndex joint_id, const SE3Tpl< Scalar, Options > &placement, const ReferenceFrame rf=LOCAL)
Returns the spatial velocity of the Frame expressed in the desired reference frame....
MotionTpl< Scalar, Options > getFrameClassicalAcceleration(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, const DataTpl< Scalar, Options, JointCollectionTpl > &data, const JointIndex joint_id, const SE3Tpl< Scalar, Options > &placement, const ReferenceFrame rf=LOCAL)
Returns the "classical" acceleration of the Frame expressed in the desired reference frame....
ForceTpl< Scalar, Options > computeSupportedForceByFrame(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, const DataTpl< Scalar, Options, JointCollectionTpl > &data, const FrameIndex frame_id)
Computes the force supported by a specific frame (given by frame_id) expressed in the LOCAL frame....
void computeFrameJacobian(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, DataTpl< Scalar, Options, JointCollectionTpl > &data, const Eigen::MatrixBase< ConfigVectorType > &q, const FrameIndex frameId, const ReferenceFrame reference_frame, const Eigen::MatrixBase< Matrix6xLike > &J)
Computes the Jacobian of a specific Frame expressed in the desired reference_frame given as argument.
A Plucker coordinate frame attached to a parent joint inside a kinematic tree.
const MotionDense< Motion2 > const SE3Tpl< SE3Scalar, SE3Options > & placement
void updateFramePlacements(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, DataTpl< Scalar, Options, JointCollectionTpl > &data)
Updates the position of each frame contained in the model.
InertiaTpl< Scalar, Options > computeSupportedInertiaByFrame(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, const DataTpl< Scalar, Options, JointCollectionTpl > &data, const FrameIndex frame_id, bool with_subtree)
Compute the inertia supported by a specific frame (given by frame_id) expressed in the LOCAL frame....
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....
FrameTpl< context::Scalar, context::Options > Frame
JointCollectionTpl const Eigen::MatrixBase< ConfigVectorType > & q
Eigen::Matrix< double, 6, Eigen::Dynamic > Matrix6x
MotionTpl< Scalar, Options > getFrameAcceleration(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, const DataTpl< Scalar, Options, JointCollectionTpl > &data, const JointIndex joint_id, const SE3Tpl< Scalar, Options > &placement, const ReferenceFrame rf=LOCAL)
Returns the spatial acceleration of the Frame expressed in the desired reference frame....
void getFrameJacobianTimeVariation(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, DataTpl< Scalar, Options, JointCollectionTpl > &data, const 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 FrameIndex frame_id)
Updates the placement of the given frame.
SE3Tpl< Scalar, Options > SE3
ModelTpl< context::Scalar, context::Options > Model
JointCollectionTpl & model
Main pinocchio namespace.
pinocchio
Author(s):
autogenerated on Sat Jun 22 2024 02:41:46