 |
pinocchio
2.5.6
A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
|
|
5 #ifndef __pinocchio_frame_hpp__
6 #define __pinocchio_frame_hpp__
8 #include "pinocchio/spatial/se3.hpp"
9 #include "pinocchio/multibody/fwd.hpp"
22 FIXED_JOINT = 0x1 << 2,
30 template<
typename _Scalar,
int _Options>
33 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
34 typedef pinocchio::JointIndex JointIndex;
35 enum { Options = _Options };
36 typedef _Scalar Scalar;
56 const SE3 & frame_placement,
72 template<
typename S2,
int O2>
85 template<
typename S2,
int O2>
88 return !(*
this == other);
92 template<
typename NewScalar>
123 template<
typename Scalar,
int Options>
129 <<
" paired to (parent joint/ previous frame)"
132 <<
"with relative placement wrt parent joint:\n" <<
141 #endif // ifndef __pinocchio_frame_hpp__
FrameType type
Type of the frame.
FrameTpl()
Default constructor of a frame.
A Plucker coordinate frame attached to a parent joint inside a kinematic tree.
bool operator==(const FrameTpl< S2, O2 > &other) const
Equality comparison operator.
SE3 placement
Placement of the frame wrt the parent joint.
JointIndex parent
Index of the parent joint.
FrameTpl< NewScalar, Options > cast() const
std::string name
Name of the frame.
FrameIndex previousFrame
Index of the previous frame.
FrameTpl(const std::string &name, const JointIndex parent, const FrameIndex previousFrame, const SE3 &frame_placement, const FrameType type)
Builds a frame defined by its name, its joint parent id, its placement and its type.
FrameType
Enum on the possible types of frame.
bool operator!=(const FrameTpl< S2, O2 > &other) const
Main pinocchio namespace.