Skip to main content
Ctrl+K
Logo image

COMPAS docs

  • Introduction
  • Installation
  • Tutorial
  • Examples
  • API Reference
    • API Reference
  • License
COMPAS.dev
  • API Reference
  • ToolModel
  • ToolModel.iter_links

ToolModel.iter_links

ToolModel.iter_links()[source]

Iterator over the links that starts with the root link.

Returns:
Iterator of all links starting at root.

Examples

>>> robot = RobotModel.ur5()
>>> [l.name for l in robot.iter_links()]
['world', 'base_link', 'shoulder_link', 'upper_arm_link', 'forearm_link', 'wrist_1_link', 'wrist_2_link', 'wrist_3_link', 'ee_link', 'tool0', 'base']
On this page
  • ToolModel.iter_links()

© Copyright COMPAS Association.

Created using Sphinx 8.1.3.

Built with the PyData Sphinx Theme 0.13.3.