ToolModel.get_link_by_name
- ToolModel.get_link_by_name(name)[source]
Get a link in a robot model matching by its name.
- Parameters
name (str) – Link name.
- Returns
compas.robots.Link
– A link instance.
Examples
>>> robot = RobotModel.ur5() >>> l = robot.get_link_by_name('world') >>> l.name 'world'