You're reading the documentation for an older, but still supported version (1.33.4).
For information on the latest version, please have a look at 1.33.5.

set_on_homming_completed

This function registers a callback function that automatically checks whether homing has been completed when the robot controller is in homing control mode. Use it to run your own code automatically when this event occurs.

Definition
DRFLEx.h within class CDRFLEx, public section

void set_on_homming_completed(TOnHommingCompletedCB pCallbackFunc) {
    _set_on_homming_completed(_rbtCtrl, pCallbackFunc);
};

Parameter

Parameter Name

Data Type

Default Value

Description

pCallbackFunc

TOnHommingCompletedCB

Refer to definition of callback function

Return
None

Example

void OnHommingCompletedCB()
{
    // Generates a message for the completion of homing
    printf("homing completed\n");
}

drfl.set_on_homming_completed(OnHommingCompletedCB);

When registered, this callback automatically executes after the homing process is completed. The example prints “homing completed” to the console.