Skip to main content
Skip table of contents

set_robot_system(robot_system)

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 …
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.