TOnMonitoringSpeedModeCB
Features
This is a callback function for checking the current velocity mode of the robot controller. As the callback function is executed automatically in the case of a specific event, a code that requires an excessive execution time (within 50 msec) within the callback function should not be made.
Parameter
Parameter Name | Data Type | Default Value | Description |
---|---|---|---|
eSpeedMode | enum.MONITORING_SPEED | - | Refer to the Definition of Constant and Enumeration Type |
Return
None.
Example
void OnMonitoringSpeedModeCB(const MONITORING_SPEED eSpdMode)
{
// Displays the velocity mode
cout << "speed mode: " << (int)eSpeedMode <<endl;
}
int main()
{
drfl.SetOnMonitoringSpeedMode(OnMonitoringSpeedModeCB);
}