dyn::Link#
rb::dyn::Link represents one rigid link in the model tree. It owns the link
name, its collision set, and the parent or child joint relationships that make
up the robot structure.
Header
Header |
|
Declaration
Namespace |
|
Kind |
|
Primary role |
Represent one rigid-body link and its attached collision geometry. |
Public Member Functions
Method group |
Purpose |
Notes |
|---|---|---|
|
Construct a link with a default or explicit inertial matrix. |
Static factory for new trees. |
|
Attach or inspect collision objects. |
Use while building or auditing a model. |
|
Traverse link-to-joint connectivity. |
Exposed in mutable and const forms. |
|
Read the link name. |
Useful for debugging and search. |
Detailed Reference
-
class Link : public std::enable_shared_from_this<Link>#
Public Functions
-
std::vector<std::shared_ptr<Collision>> GetCollisions()#
-
const std::vector<std::shared_ptr<Collision>> &GetCollisions() const#
-
std::string GetName() const#
Public Static Functions
Friends
- friend class Joint
- friend class Robot
-
std::vector<std::shared_ptr<Collision>> GetCollisions()#
Related Types
Examples
dynamics/load_urdf.cppshows the link tree in context.