2.12.4 2.12.3 2.12.2 2.12.1 2.12 2.11.2 2.11.0.1 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish
2.12.4 2.12.3 2.12.2 2.12.1 2.12 2.11.2 2.11.0.1 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish

get_current_tool()

Features

Returns the currently set tool information among the current safety setting parameters.

Parameters

None

Return

Value

Data Types

Description

ret

class.config_tool_symbol

Tool settup information

Class

class.config_tool_symbol

Field

Data Types

Description

obj

list

Object information for that class

symbol

string

Tool name

tool

class.config_tool

Tool information


class.config_tool

Field

Data Types

Description

obj

list

Object information for that class

weight

float

Tool Mass

xyz

float[3]

Center of gravity information

inertia

float[6]

Inertia Information

Example

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

Related commands

  • None