COMPAS
  • Home
  • Docs
  • Extensions
  • Examples
  • Contribute
  • 1.17.9
  1. docs
  2. API Reference
  3. compas
  4. robots
  5. RobotModel

RobotModel.get_link_by_name

RobotModel.get_link_by_name(name)[source]

Get a link in a robot model matching by its name.

Parameters

name (str) – Link name.

Returns

Link – A link instance.

Examples

>>> robot = RobotModel.ur5()
>>> l = robot.get_link_by_name('world')
>>> l.name
'world'
  • Introduction
  • Installation
  • Getting started
  • Tutorial
  • API Reference
    • compas
      • artists
      • colors
      • data
      • datastructures
      • files
      • geometry
      • numerical
      • plugins
      • robots
      • rpc
      • topology
      • utilities
    • compas_blender
    • compas_ghpython
    • compas_plotters
    • compas_rhino
  • Extension points
  • Developer Guide
  • Changelog
  • Releases
  • License
  • Citing
Previous
RobotModel.get_joint_types_by_names
Next
RobotModel.get_urdf_element

COMPAS

A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.

Copyright © 2017-2021 compas-dev