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
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);
}