#include <model-item.hpp>
Public Types | |
enum | { Options = traits<Derived>::Options } |
typedef SE3Tpl< Scalar, Options > | SE3 |
Public Types inherited from pinocchio::NumericalBase< Derived > | |
typedef traits< Derived >::Scalar | Scalar |
Public Member Functions | |
ModelItem () | |
Default constructor of ModelItem. More... | |
ModelItem (const std::string &name, const JointIndex parent_joint, const FrameIndex parent_frame, const SE3 &frame_placement) | |
Builds a kinematic element defined by its name, its joint parent id, its parent frame id and its placement. More... | |
bool | operator== (const ModelItem &other) const |
Public Attributes | |
std::string | name |
Name of the kinematic element. More... | |
FrameIndex | parentFrame |
Index of the parent frame. More... | |
JointIndex | parentJoint |
Index of the parent joint. More... | |
SE3 | placement |
Position of kinematic element in parent joint frame. More... | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef traits< Derived >::Scalar | Scalar |
Definition at line 13 of file model-item.hpp.
typedef SE3Tpl<Scalar, Options> pinocchio::ModelItem< Derived >::SE3 |
Definition at line 22 of file model-item.hpp.
anonymous enum |
Enumerator | |
---|---|
Options |
Definition at line 18 of file model-item.hpp.
|
inline |
Default constructor of ModelItem.
Definition at line 44 of file model-item.hpp.
|
inline |
Builds a kinematic element defined by its name, its joint parent id, its parent frame id and its placement.
[in] | name | Name of the frame. |
[in] | parent_joint | Index of the parent joint in the kinematic tree. |
[in] | parent_frame | Index of the parent frame in the kinematic tree. |
[in] | frame_placement | Placement of the frame wrt the parent joint frame. |
Definition at line 61 of file model-item.hpp.
|
inline |
Definition at line 73 of file model-item.hpp.
std::string pinocchio::ModelItem< Derived >::name |
Name of the kinematic element.
Definition at line 25 of file model-item.hpp.
FrameIndex pinocchio::ModelItem< Derived >::parentFrame |
Index of the parent frame.
Parent frame may be unset (to the std::numeric_limits<FrameIndex>::max() value) as it is mostly used as a documentation of the tree, or in third-party libraries. The URDF parser of Pinocchio is setting it to the proper value according to the urdf link-joint tree. In particular, anchor joints of URDF would cause parent frame to be different to joint frame.
Definition at line 36 of file model-item.hpp.
JointIndex pinocchio::ModelItem< Derived >::parentJoint |
Index of the parent joint.
Definition at line 28 of file model-item.hpp.
SE3 pinocchio::ModelItem< Derived >::placement |
Position of kinematic element in parent joint frame.
Definition at line 39 of file model-item.hpp.
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef traits<Derived>::Scalar pinocchio::ModelItem< Derived >::Scalar |
Definition at line 17 of file model-item.hpp.