Skip to main content
Skip table of contents

CDRFLEx.get_robot_speed_mode

Features

This is a function for checking the current velocity mode (normal mode, deceleration mode) in the robot controller along with the TOnMonitoringSpeedModeCB callback function.

Parameter

None

Return

Value

Description

enum.SPEED_MODE

Refer to the Definition of Constant Type and Enumeration Type

Example

CPP
if (drfl.get_robot_speed_mode()== SPEED_REDUCED_MODE){
   // Changes the speed reduced mode to normal speed mode
drfl.set_robot_speed_mode(SPEED_NORMAL_MODE);
}
JavaScript errors detected

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

If this problem persists, please contact our support.