Tools


Tools

set_tool

LibIiwa.set_tool(index: int) bool

Attach/detach tool

Parameters:

index (int) – Tool index

Returns:

True if successful, False otherwise

Return type:

bool

Example:

# attach the first defined tool
>>> iiwa.set_tool(0)
True

# detach tool
>>> iiwa.set_tool(-1)
True