Skip to main content
Skip table of contents

CDRFLEx.set_on_monitoring_speed_mode

Features

This is a function for registering the callback function that automatically checks the current velocity mode of the robot controller. It is useful when functions that should be executed automatically are made.

Parameter

Parameter Name

Data Type

Default Value

Description

pCallbackFunc

TOnMonitoringSpeedModeCB

-

Refer to definition of callback function

Return

None.

Example

PY
void OnMonitoringSpeedModeCB(const MONITORING_SPEED eSpdMode)
{
// Displays the velocity mode
cout << "speed mode: " << (int)eSpeedMode <<endl;
}

int main() 
{
drfl.set_on_monitoring_speed-mode(OnMonitoringSpeedModeCB);
}
JavaScript errors detected

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

If this problem persists, please contact our support.