Robot.attach_tool
- Robot.attach_tool(tool, group=None, touch_links=None)[source]
Attach a tool to the robot independently of the model definition.
- Parameters:
- Returns:
None
See also
Examples
>>> robot = RobotLibrary.ur5() >>> mesh = Mesh.from_stl(compas_fab.get('planning_scene/cone.stl')) >>> frame = Frame([0.14, 0, 0], [0, 1, 0], [0, 0, 1]) >>> tool = Tool(mesh, frame) >>> robot.attach_tool(tool)