Skip to main content
Skip table of contents

set_robot_mode(robot_mode)

Features

This function is to set the operation mode (manual / automatic) of the robot controller. Motion command is available in both modes, but manual handguiding is available in manual mode and operates in deceleration mode for safety.

In automatic mode, manual handguiding is not possible and operates in normal speed mode.

Manual mode: robot LED lights up blue

Auto mode: robot LED lights up in white

Parameters

Parameter Name

Data Type

Default Value

Description

Robot_mode

int

-

  • ROBOT_MODE_MANUAL : 0
  • ROBOT_MODE_AUTONOMOUS : 1

Return

Value

Description

0

Success

Negative value

Failed

Example

BASH
#...
set_robot_mode(ROBOT_MODE_MANUAL) 
#...
#...
#...
set_robot_mode(ROBOT_MODE_AUTONOMOUS)
#...
JavaScript errors detected

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

If this problem persists, please contact our support.