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

Definition

get_distance(posx1, posx2)

Features

This function returns the distance between two pose positions in [mm].

Parameters

Parameter Name

Data Type

Default Value

Description

posx1

posx

list (float[6])

-

posx or

position list [mm]

posx2

posx

list (float[6])

-

posx or

position list [mm]

Return

Value

Description

float

[mm]

Exception

Exception

Description

DR_Error (DR_ERROR_TYPE)

Parameter data type error occurred

Example

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

Keyword

distance