Feature
This is a function for setting and changing the current operating robot system in the robot controller.
Parameters
|
Parameter Name |
Data Type |
Default Value |
Description |
|---|---|---|---|
|
robot_system |
int8 |
- |
robot system info 0 : Real 1 : Virtual |
Return
|
Value |
Description |
|---|---|
|
0 |
Failed |
|
1 |
Success |
Example
Bash
if(get_robot_system() != ROBOT_SYSTEM_REAL):
#Automatic mode switching
set_robot_system(ROBOT_SYSTEM_REAL)
else :
#do somting …