Tools

Robotic tools or end effectors are devices mounted to the flange of a robot arm. They enable various tasks such as grasping, welding or cutting and many more.

An activated tool changes the tool center point (TCP) of the robot, such that the configured center of the tool is moving to a desired Cartesian pose instead of the robot flange. Furthermore, it influences the dynamic parameters of the robot.

Some robotic systems also allow to trigger special tool commands and query the state of the tool.

Note

Tool selection is currently only available for robots of the Victor Robot Behavior Group.

It is expected, that one or multiple tools are preconfigured on the robot control to select from.

Tool configuration, tool commands and tool states are not supported at the moment.

Selecting Tools

You can get the selectable tools by using the get_selectable_tools_v() method. This will return a tuple of tool names. Reading the name of the currently selected tool can be achieved by using the get_selected_tool_v() method.

A tool can be selected using the select_tool_v() method. The select_tool_v() method expects a name of an available tool as a string. This method will return as soon as the selected tool is activated by robot control. If the tool does not exist on the robot control, an error will be raised.

It is also possible to deselect the active tool by using the deselect_tool_v() method.

The following example shows a simple application that selects a tool.

Definition of the Tool Methods

The methods to select tools for robots with Victor behavior are defined in the SelectToolVictorTrait: