3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.2 3.2.1 3.2.0 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish
3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.2 3.2.1 3.2.0 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish

get_orientation_error()

정의

get_orientation_error(xd, xc, axis)

기능

axis에 대한 임의의 pose xd와 xc 사이의 Orientation error 값을 리턴합니다.

인수

인수명

자료형

기본값

설명

xd


posx

-

posx 또는

position list

list (float[6])

xc


posx

-

posx 또는

position list

list (float[6])

axis

int

-

axis

  • DR_AXIS_X: x축

  • DR_AXIS_Y: y축

  • DR_AXIS_Z: z축

리턴

설명

float

Orientation error 값

예외

예외

설명

DR_Error (DR_ERROR_TYPE)

인수들의 데이터형 오류 시

DR_Error (DR_ERROR_VALUE)

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

DR_Error (DR_ERROR_RUNTIME)

C Extension 모듈 에러 발생 시

DR_Error (DR_ERROR_STOP)

프로그램 강제 종료 시

예제

Python
xd = posx(0, 0, 0, 0, 0, 0)
xc = posx(10, 20, 30, 40, 50, 60)
diff = get_orientation_error(xd, xc, DR_AXIS_X)

관련 명령어

Keyword

get / orientation / error / get_orientation / orientation_error