Calc Distances between Poses

You are currently viewing the documentation for the latest version (2.2.0). To access a different version, click the "Switch version" button located in the upper-right corner of the page.

■ If you are not sure which version of the product you are currently using, please feel free to contact Mech-Mind Technical Support.

Function

This Step forms a vector from two pose centers, and calculates the length of this vector, or the length of the vector’s projection on the XY plane. Multiple pairs of poses can be input at a time.

function description

Usage Scenario

This Step is a general pose distance calculation Step. No fixed usage scenarios.

Input and Output

Input

Input port Data type Description

Original Poses

Pose[]

Poses input to this port will be used as the starting points of the distance vectors.

Reference Poses

Pose[]

Poses input to this port will be used as the endpoints of the distance vectors.

Output

Output port Data type Description

Distances

Number[]

Lengths of distance vectors or lengths of projections of distance vectors on the XY plane.

Parameter Description

Parameter Description

Distance Type

Parameter description: Set the distance calculation mode.

Value list:

  • NONE: Output an empty list.

  • Dis2ReferencePose: Calculate the distance between the input pose and the reference pose in 3D space.

  • Dis2ReferencePoseOnXYPlane: Calculate the distance between the input pose and the reference pose on the XY plane.

Default value: Dis2ReferencePose

Reference Pose

Parameter description: Set the reference pose used for distance calculation.

  • X: X-coordinate of the reference pose.

  • Y: Y-coordinate of the reference pose.

  • Z: Z-coordinate of the reference pose.

Default value: X=0.0000, Y=0.0000, Z=0.0000

Is this page helpful?

You can give a feedback in any of the following ways:

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.