Skip to main content
Skip table of contents

CDRFLEx.get_orientation_error

기능

축 방향 eTaskAxis에 대한 임의의 pose fPosition1fPosition2 사이의 Orientation error 값을 반환한다.

인수

인수명자료형기본값설명

fPosition1

float[6]

-

6개의 Task Space 정보

fPosition2

float[6]


6개의 Task Space 정보

eTaskAxis

enum.TASK_AXIS


상수 및 열거형 정의 참조

리턴

설명

float

Orientation Error 값

예제

PY
float x1[6] = {0, 0, 0, 0, 0, 0};
float x2[6] = {10, 20, 30, 40, 50, 60};
float diff = Drfl.get_orientation_error(x1, x2, TASK_AXIS_X);
cout << diff << endl;
JavaScript errors detected

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

If this problem persists, please contact our support.