Breadcrumbs

CDRFLEx.del_tool

Features

This is a function for deleting information on the tool registered in the robot controller in advance.

Parameter

Parameter Name

Data Type

Default Value

Description

strSymbol

string

-

Tool Name

Return

Value

Description

0

Error

1

Success

Example

C++
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");