3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.2 3.2.1 3.2.0 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish
3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.2 3.2.1 3.2.0 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish

get_current_tool()

Features

Return the currently set safety Tool information. To retrieve the temporal Tool information, use the get_temp_tool() command.

Return

Value

Data Types

Description

ret

class.config_tool_symbol

Tool settup information

Class

class.config_tcp_symbol

Field

Data Types

Description

obj

list

Object information for that class

symbol

string

Tool name

tool

class.config_tool

Tool information

class.config_tcp

Field

Data Types

Description

obj

list

Object information for that class

weight

float

Tool Mass (kg)

xyz

float[3]

Center of gravity information (mm)

inertia

float[6]

Inertia Information (kg·mm2)

Example

Python
ret = get_current_tool()
print(ret.symbol) # tool symbol
print(ret.tool.weight) # tool weight