Skip to main content
Skip table of contents

set_robot_speed_mode(speed_mode)

Feature

This is a function for setting and changing the speed mode currently being operated by the controller.

Parameters

Parameter Name

Data Type

Default Value

Description

speed_mode

int8

-

Robot Speed mode

0 : normal mode

1 : reduced mode

Return

Value

Description

0

Failed

1

Success

Example

BASH
if get_robot_speed_mode() == SPEED_REDUCED_MODE:
    #When in deceleration mode, change to constant speed mode
set_robot_speed_mode(SPEED_NORMAL_MODE)
JavaScript errors detected

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

If this problem persists, please contact our support.