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_system

Features

This is a function for setting and changing the current operation robot system in the robot controller.

Parameter

Parameter Name

Data Type

Default Value

Description

eRobotSystem

enum.ROBOT_SYSTEM

-

Refer to the Definition of Constant and Enumeration Type

Return

Value

Description

0

Error

1

Success

Example

C++
ROBOT_SYSTEM eRobotSystem = drfl.get_robot_system();
if(eRobotSystem != ROBOT_SYSTEM_REAL) {
    //Converts to automatic mode
    drfl.set_robot_system(ROBOT_SYSTEM_REAL);
}
else {
  //do somting …
}