Skip to main content
Skip table of contents

set_stiffnessx(stx, time)

기능

전역으로 설정된 좌표계(set_ref_coord() 참조) 기준으로 강성값을 설정합니다. 현재 강성 또는 기본값으로부터 STX로 주어진 time값 동안 linear transition 합니다. Translation 강성의 사용자 범위는 0~20000N/m, Rotational 강성의 사용자 범위는 0~400Nm/rad입니다.

인수

인수명자료형기본값설명

stx

float[6]

[500, 500, 500, 100, 100, 100]

Translational 강성3,

회전강성 3

time

float

0

강성변화 시간 [sec]

범위 0~1.0

* 주어진 시간 동안 linear transition

리턴

설명

0

성공

음수값

오류

예외

예외설명

DR_Error (DR_ERROR_TYPE)

인수들의 데이터형 오류 시

DR_Error (DR_ERROR_VALUE)

인수의 값이 유효하지 않을 시

DR_Error (DR_ERROR_RUNTIME)

C Extension 모듈 에러 발생 시

DR_Error (DR_ERROR_STOP)

프로그램 강제 종료 시

예제

PY
set_ref_coord(DR_WORLD) # 전역좌표계를 World로 설정
x0 = posx(0, 0, 90, 0, 90, 0)
movej(x0)
task_compliance_ctrl()
stx = [1, 2, 3, 4, 5, 6]
set_stiffnessx(stx) # 현재의 전역좌표계(World) 기준 강성 적용
release_compliance_ctrl()

관련 명령어

JavaScript errors detected

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

If this problem persists, please contact our support.