Features
Return the currently set safety Tool information. To retrieve the temporal Tool information, use the https://doosanrobotics-manual.atlassian.net/wiki/x/SgD6Ig 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