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_distance()

정의

get_distance(posx1, posx2)

기능

두 pose 포지션 사이의 거리를 [mm] 단위로 리턴합니다.

인수

인수명

자료형

기본값

설명

posx1

posx

list (float[6])

-

posx 또는

position list [mm]

posx2

posx

list (float[6])

-

posx 또는

position list [mm]

리턴

설명

float

[mm]

예외

예외

설명

DR_Error (DR_ERROR_TYPE)

인수들의 데이터형 오류 시

예제

Python
posx1 = [100, 20, 300, 90, 0, 180]
posx2 = [200, 50, 100, 90, 30, 150]
dis_posx = get_distance(posx1, posx2)

Keyword

distance