Python API
LibIiwa.set_tool()
ROS & ROS2 API
Table of Contents
Tools
set_tool
Attach/detach tool
index (int) – Tool index
True if successful, False otherwise
bool
Example:
# attach the first defined tool >>> iiwa.set_tool(0) True # detach tool >>> iiwa.set_tool(-1) True