Sort Trajectory Points

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 sorts trajectory points based on their positions to optimize the trajectory point sequence.

Usage Scenario

This Step is suitable for scenarios where the order of trajectory points is disordered or needs optimization.

Input and Output

Input

Input port Data type Description

Trajectory Points

Pose[]

The trajectory points input at this port will be sorted.

Output

Output port Data type Description

Sorted Trajectory Points

Pose[]

Trajectory points after sorting.

Parameter Description

Parameter Description

Sorting Mode

Parameter description: This parameter specifies the sorting mode for trajectory points.
Value list: Fine sorting, Coarse sorting

Angle Threshold

Parameter description: This parameter is used to detect trajectory endpoints. A current trajectory point is considered an endpoint if the angles between its position vector and those of its neighboring points are all smaller than this threshold.
Default value: 80.00°

Number of Neighboring Points

Parameter description: In coarse sorting, this parameter specifies the number of neighboring points searched from the current trajectory end each time. In fine sorting, this parameter sets the upper limit of neighboring points each point can search within its local range.
Default value: 40

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.