Breadcrumbs

get_robot_system()

Feature

This function reads the current operating robot system from the robot controller.

Return

Value

Description

0

Real

1

Virtual

Example

Bash
if get_robot_system() != ROBOT_SYSTEM_REAL:
    # Automatic mode switching    
    set_robot_system(ROBOT_SYSTEM_REAL)
else: 
  #do somting …