RobotLinkNode#
Fully qualified name: isaacsim::robot::schema::RobotLinkNode
-
class RobotLinkNode#
Node representation for the robot kinematic tree.
Stores the prim metadata, parent relationship, outgoing child links, and the joint that attaches the node to its parent.
Public Functions
- const pxr::UsdPrim &prim = pxr::UsdPrim(),
- const std::shared_ptr<RobotLinkNode> &parent = nullptr,
- const pxr::UsdPrim &joint = pxr::UsdPrim(),
Construct a node for a given prim.
- Parameters:
prim – [in] Prim represented by this node.
parent – [in] Parent node in the tree.
joint – [in] Joint that connects the parent to this node.
Add a child node.
- Parameters:
child – [in] Node to append.
-
inline void addJoint(const pxr::UsdPrim &joint)#
Record a joint connected to this link.
- Parameters:
joint – [in] Joint prim to store.
-
inline const pxr::UsdPrim &getPrim() const#
Access the prim associated with this node.
- Returns:
const pxr::UsdPrim& Referenced prim.
-
inline const pxr::SdfPath &getPath() const#
Access the prim path.
- Returns:
const pxr::SdfPath& Referenced path.
-
inline const std::string &getName() const#
Access the prim name.
- Returns:
const std::string& Prim name.
-
inline std::shared_ptr<RobotLinkNode> getParent() const#
Get the parent node.
- Returns:
std::shared_ptr<RobotLinkNode> Parent node, if any.
- inline const std::vector<std::shared_ptr<RobotLinkNode>> &getChildren(
Access the children list.
- Returns:
const std::vector<std::shared_ptr<RobotLinkNode>>& Child nodes.