Features
This is a callback function called when the sw module is updated in the robot controller. Since the callback function is automatically executed when a specific event occurs, you should not write code that requires an excessive execution time (within 50msec) within the callback function.
Parameter
|
Parameter Name |
Data Type |
Default Value |
Description |
|---|---|---|---|
|
tUpdate |
struct.UPDATE_SW_MODULE_RESPONSE |
- |
Refer to the Definition of Structure |
Return
None.
Example
Python
void OnMonitoringUpdateModuleCB (UPDATE_SW_MODULE_RESPONSE tUpdate)
{
//When sw module is updated
}
int main()
{
Drfl.set_on_monitoring_update_module(OnMonitoringUpdateModuleCB);
}