Features
Returns all currently registered tool information for the current safety setting parameter.
Return
|
Value |
Data Types |
Description |
|---|---|---|
|
ret |
class.config_tool_list |
Information about all registered tools |
Class
class.config_tool_list
|
||
|
Field |
Data Types |
Description |
|---|---|---|
|
obj |
list |
Object information for that class |
|
count |
int |
Number of registered tools |
|
tool_list |
class.config_tool_symbol[50] |
Registered tool information (up to 50) |
class.config_tool_symbol
|
||
|
Field |
Data Types |
Description |
|---|---|---|
|
obj |
list |
Object information for that class |
|
symbol |
string |
Tool name |
|
tool |
class.config_tool |
Tool details |
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_tool_list()
for i in range(0, ret.count):
print(ret.tool_list[i].symbol)
print(ret.tool_list[i].tool.weight)