Breadcrumbs

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)

관련 명령어