![]() |
Tesseract 0.28.4
|

Public Member Functions | |
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW | OFKTBaseNode (JointType type, OFKTNode *parent, tesseract::common::LinkId link_id) |
| OFKTBaseNode (JointType type, OFKTNode *parent, tesseract::common::LinkId link_id, tesseract::common::JointId joint_id, const Eigen::Isometry3d &static_tf) | |
| JointType | getType () const override |
| Get the type of joint associated with the node. | |
| void | setParent (OFKTNode *parent) override |
| Set the parent node. | |
| OFKTNode * | getParent () override |
| Get the parent node. | |
| const OFKTNode * | getParent () const override |
| Get the parent node (const). | |
| tesseract::common::LinkId | getLinkId () const override |
| Get the link ID associated with the node. | |
| tesseract::common::JointId | getJointId () const override |
| Get the joint ID associated with the node. | |
| void | storeJointValue (double joint_value) override |
| Set the nodes joint value if it has one. | |
| double | getJointValue () const override |
| Get the current joint value. | |
| bool | hasJointValueChanged () const override |
| Indicates that the joint value has changed and that local and world transformation need to be recomputed. | |
| void | setStaticTransformation (const Eigen::Isometry3d &static_tf) override |
| Set the static transformation. | |
| const Eigen::Isometry3d & | getStaticTransformation () const override |
| Get the nodes static transformation. | |
| const Eigen::Isometry3d & | getLocalTransformation () const override |
| Get the local transformation: 'L = S * J'. | |
| Eigen::Isometry3d | computeLocalTransformation (double joint_value) const override |
| Compute the local tranformation but do not save. | |
| void | computeAndStoreWorldTransformation () override |
| Compute and store the nodes world transformation. | |
| const Eigen::Isometry3d & | getWorldTransformation () const override |
| Get the nodes world transformation. | |
| bool | updateWorldTransformationRequired () const override |
| Indicates if an update of the world transformation is required. | |
| Eigen::Matrix< double, 6, 1 > | getLocalTwist () const override |
| Return the twist of the node's link relative to its parent link for a unit joint velocity. | |
| void | addChild (OFKTNode *node) override |
| Add a child node. | |
| void | removeChild (const OFKTNode *node) override |
| Remove a child node assiciated with this node. | |
| std::vector< OFKTNode * > & | getChildren () override |
| Get a vector of child nodes associated with this node. | |
| const std::vector< const OFKTNode * > & | getChildren () const override |
| Get a vector of child nodes associated with this node (Const). | |
| Public Member Functions inherited from tesseract::scene_graph::OFKTNode | |
| OFKTNode (const OFKTNode &)=delete | |
| OFKTNode & | operator= (const OFKTNode &)=delete |
| OFKTNode (OFKTNode &&)=delete | |
| OFKTNode & | operator= (OFKTNode &&)=delete |
| virtual void | computeAndStoreLocalTransformation ()=0 |
| Compute and save the local transformation 'L = S * J(Joint Value)'. | |
Friends | |
| class | OFKTStateSolver |
Additional Inherited Members | |
| Public Types inherited from tesseract::scene_graph::OFKTNode | |
| using | UPtr = std::unique_ptr<OFKTNode> |
| using | Ptr = std::shared_ptr<OFKTNode> |
| using | ConstPtr = std::shared_ptr<const OFKTNode> |
|
overridevirtual |
Get the type of joint associated with the node.
Implements tesseract::scene_graph::OFKTNode.
|
overridevirtual |
Set the parent node.
This should indicate that updateWorldTransformationRequired() = true
| parent | The parent node |
Implements tesseract::scene_graph::OFKTNode.
Reimplemented in tesseract::scene_graph::OFKTRootNode.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Get the link ID associated with the node.
Implements tesseract::scene_graph::OFKTNode.
|
overridevirtual |
Get the joint ID associated with the node.
Implements tesseract::scene_graph::OFKTNode.
|
overridevirtual |
Set the nodes joint value if it has one.
This should indicate hasJointValueChanged() = true
| joint_value | The joint value |
Implements tesseract::scene_graph::OFKTNode.
Reimplemented in tesseract::scene_graph::OFKTFixedNode, tesseract::scene_graph::OFKTFloatingNode, tesseract::scene_graph::OFKTRevoluteNode, and tesseract::scene_graph::OFKTRootNode.
|
overridevirtual |
Get the current joint value.
Implements tesseract::scene_graph::OFKTNode.
Reimplemented in tesseract::scene_graph::OFKTFixedNode, and tesseract::scene_graph::OFKTFloatingNode.
|
overridevirtual |
Indicates that the joint value has changed and that local and world transformation need to be recomputed.
Implements tesseract::scene_graph::OFKTNode.
|
overridevirtual |
Set the static transformation.
This should recompute the local transformation and updateWorldTransformationRequired() = true.
| static_tf | The new static transformation |
Implements tesseract::scene_graph::OFKTNode.
Reimplemented in tesseract::scene_graph::OFKTFixedNode, tesseract::scene_graph::OFKTFloatingNode, and tesseract::scene_graph::OFKTRootNode.
|
overridevirtual |
Get the nodes static transformation.
Implements tesseract::scene_graph::OFKTNode.
|
overridevirtual |
Get the local transformation: 'L = S * J'.
Implements tesseract::scene_graph::OFKTNode.
|
overridevirtual |
Compute the local tranformation but do not save.
This provides a const method for computing the local transform.
| joint_value | The joint value for calculating the local transformation |
Implements tesseract::scene_graph::OFKTNode.
Reimplemented in tesseract::scene_graph::OFKTContinuousNode, tesseract::scene_graph::OFKTFixedNode, tesseract::scene_graph::OFKTFloatingNode, tesseract::scene_graph::OFKTPrismaticNode, tesseract::scene_graph::OFKTRevoluteNode, and tesseract::scene_graph::OFKTRootNode.
|
overridevirtual |
Compute and store the nodes world transformation.
This should reset the flag such that updateWorldTransformationRequired() returns false
Implements tesseract::scene_graph::OFKTNode.
Reimplemented in tesseract::scene_graph::OFKTRootNode.
|
overridevirtual |
Get the nodes world transformation.
Implements tesseract::scene_graph::OFKTNode.
|
overridevirtual |
Indicates if an update of the world transformation is required.
This should get set to true when either of the following happen.
Note: setJointValue() is not handle here because that is captured by hasJointValueChanged()
Implements tesseract::scene_graph::OFKTNode.
Reimplemented in tesseract::scene_graph::OFKTRootNode.
|
overridevirtual |
Return the twist of the node's link relative to its parent link for a unit joint velocity.
It is expressed in the frame of the node's link, with the origin of that link as the reference point, so it does not depend on the joint value or on the joint origin. It is zero for a node without a joint value.
Implements tesseract::scene_graph::OFKTNode.
|
overridevirtual |
Add a child node.
| node | The node which is a child of this node |
Implements tesseract::scene_graph::OFKTNode.
|
overridevirtual |
Remove a child node assiciated with this node.
| node | The child node to be removed |
Implements tesseract::scene_graph::OFKTNode.
|
overridevirtual |
Get a vector of child nodes associated with this node.
Implements tesseract::scene_graph::OFKTNode.
|
overridevirtual |
Get a vector of child nodes associated with this node (Const).
Implements tesseract::scene_graph::OFKTNode.