Skip to main content
Skip table of contents

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

CPP
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);
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.