Skip to main content
Skip table of contents

set_robot_speed_mode(speed_mode)

기능

로봇 제어기에서 현재 운용 중인 속도 모드를 설정 및 변경하기 위한 함수입니다.

인수

인수명자료형기본값설명

speed_mode

int8

-

로봇 속도 모드

0 : 정상 모드

1 : 감속 모드

리턴

설명

0

오류

1

성공

예제

BASH
if get_robot_speed_mode() == SPEED_REDUCED_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.