CDRFLEx.set_on_monitoring_robot_system
Features
This is a function to register a callback function to automatically check when the operating system of the robot controller is changed. This is useful when writing functions that should be executed automatically.
Parameter
Parameter Name | Data Type | Default Value | Description |
---|---|---|---|
pCallbackFunc | TOnMonitoringRobotSystemCB | - | Refer to definition of callback function |
Return
None.
Example
void OnMonitoringRobotSystemCB(ROBOT_STATE eRobotState)
{
//When changing robot operation status
}
int main()
{
Drfl.set_on_monitroing_robot_system(OnMonitoringRobotSystemCB);
}