Breadcrumbs

CDRFLEx.set_on_homming_completed

Features

This is a function for registering the callback function that automatically checks whether homing has been completed when the robot controller is in homing control mode. It is useful when functions that should be executed automatically are made.

Parameter

Parameter Name

Data Type

Default Value

Description

pCallbackFunc

TOnHommingCompletedCB

-

Refer to definition of callback function

Return

None.

Example

C++
void OnHommingCompletedCB()
{
    // Generates a message for the completion of homing
    cout << "homming completed" << endl;
    drfl.Homme(False)

}

int main()
{
    drfl.set_on_homming_completed(OnHommingCompletedCB);
}