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.get_robot_system

Features

This is a function for checking information on the current operation robot system (virtual robot, actual robot) in the robot controller.

Parameter

None.

Return

Value

Description

enum.ROBOT_SYSTEM

Refer to the Definition of Constant and Enumeration Type

Example

C++
// Checks the current robot system
ROBOT_SYSTEM eRobotSystem = drfl.get_robot_system();

if(eRobotSystem != ROBOT_SYSTEM_REAL) {
    drfl.set_robot_system(ROBOT_SYSTEM_REAL);
}
else {
  //do somting …
}