1.32 1.31 1.30 1.29 1.28 1.20 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish
1.32 1.31 1.30 1.29 1.28 1.20 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish

CDRFLEx.set_robot_mode

Features

This is a function for setting information on the current operation mode of the robot controller.

Parameter

Parameter Name

Data Type

Default Value

Description

eMode

enum.ROBOT_MODE

-

Refer to the Definition of Constant and Enumeration Type

Return

Value

Description

0

Success

1

Error

Example

C++
if (drfl.get_robot_mode() == ROBOT_MODE_MANUAL) {
    // Converts to the automatic mode
    drfl.set_robot_mode(ROBOT_MODE_AUTONOMOUS);  
}