Features
This is a function for setting the information on the tool currently mounted among the tool information registered in the robot controller in advance. When there is currently no tool mounted, if an empty character string is delivered, the currently set information is initialized.
Parameter
|
Parameter Name |
Data Type |
Default Value |
Description |
|
strSymbol |
string |
- |
Tool Name |
Return
|
Value |
Description |
|
0 |
Error |
|
1 |
Success |
Example
Python
float fCog[3] = {10, 10, 10};
float finertia[6] = { 0, 0, 0, 0, 0, 0 };
// Registers tool.
drfl.add_tool("tool#1", 5.3f, fCog, finertia);
// Selects current tool.
drfl.set_tool("tool#1");
// Releases registration of tool.
drfl.del_tool("tool#1");