RobotModel.iter_links
- RobotModel.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']