Pick Point Sorting V1

Description

Used for sorting and filtering pick points. This version is only for legacy upgrade transition, V2 version is recommended.

Overview

Multi-level sorting strategy combination to optimize pick point selection order (V2 version recommended).

Scenarios

  • Deep bin picking: Prefer pick points near the center of the bin and away from the walls to avoid collisions.

  • Depalletizing / palletizing: Prefer pick points with the highest Z height.

  • Pose optimization: Prefer pick points close to the robot’s current pose to reduce motion.

  • Process logic combination: For example, “filter by score first, then sort by height.”

Inputs and Outputs

Inputs

Pick Point Pose: Input list of candidate pick points.

Draw Scene (Optional): Used for auxiliary display.

Outputs

Pick Point Pose: Sorted and filtered list of pick points.

Parameters

Pick Point Sorting Strategy

Description

List of pick point sorting strategies.

Parameter Range

Values/Range:

  • Sort by Coordinate Value on Reference Axis

  • Sort by Angle to Target Axis

  • Sort by Angle to Ray toward Pick Point

  • Sort by Distance to Reference Point

  • Sort by Score

  • Sort by Priority

  • Sort by Distance to Bin Sides

  • Sort by Angle to Bin Sides

  • Sort by Tool Rotation Difference

Default: []

Pick Points Per Instance

Description

Keep the top N pick points for each detected object after sorting.

Tuning Instructions

  • Default 1: Output only the best pick point for each object.

  • Greater than 1: Output multiple alternative points.

Parameter Range

Values/Range: [0, 400]

Default: 1

Reference-Frame Axis

Description

Specifies an axis of the target coordinate frame: X Axis, Y Axis, or Z Axis.

Parameter Range

Values/Range:

  • X Axis

  • Y Axis

  • Z Axis

Default: X Axis

Sort Order

Description

Specifies the sort order. Highest First places pick points with larger values first; Lowest First reverses this.

Parameter Range

Values/Range:

  • Highest First

  • Lowest First

Default: Highest First

Difference Threshold

Description

Threshold below which two values are considered equal and no ordering is applied between them. The current implementation internally fixes this value to 1; user input has no effect on actual behavior.

Parameter Range

Default: 1

Unit: mm

Grouping Interval

Description

Groups sorted results by this interval. A new group starts whenever the difference from the previous value exceeds this threshold.

Parameter Range

Values/Range: [0, 50000]

Default: 10000

Unit: mm

Pick Point Axis

Description

Specifies an axis of the pick point coordinate frame: X Axis, Y Axis, or Z Axis.

Parameter Range

Values/Range:

  • X Axis

  • Y Axis

  • Z Axis

Default: X Axis

Target Axis

Description

Specifies a vector in space as the target axis for angle calculation. Typically set to [0, 0, -1].

Parameter Range

Default: [0, 0, 1]

Sort Order

Description

Specifies the sort order. Highest First places pick points with larger values first; Lowest First reverses this.

Parameter Range

Values/Range:

  • Highest First

  • Lowest First

Default: Highest First

Difference Threshold

Description

Threshold below which two values are considered equal and no ordering is applied between them. The current implementation internally fixes this value to 1; user input has no effect on actual behavior.

Parameter Range

Default: 1

Unit: °

Angle Threshold

Description

Angle threshold. Pick points where the computed angle exceeds (or is below) this value are removed.

Parameter Range

Values/Range: [0, 180]

Unit: °

Grouping Interval

Description

Groups sorted results by this interval. A new group starts whenever the difference from the previous value exceeds this threshold.

Parameter Range

Values/Range: [0, 180]

Default: 180

Unit: °

Pick Point Axis

Description

Specifies an axis of the pick point coordinate frame: X Axis, Y Axis, or Z Axis.

Parameter Range

Values/Range:

  • X Axis

  • Y Axis

  • Z Axis

Default: X Axis

Reference Point

Description

Set a reference point. The line from this point to the pick point is used to compute the angle with the specified axis. Typically set to the robot arm starting pose above the bin.

Parameter Range

Default: [0, 0, 0]

Sort Order

Description

Specifies the sort order. Highest First places pick points with larger values first; Lowest First reverses this.

Parameter Range

Values/Range:

  • Highest First

  • Lowest First

Default: Highest First

Difference Threshold

Description

Threshold below which two values are considered equal and no ordering is applied between them. The current implementation internally fixes this value to 1; user input has no effect on actual behavior.

Parameter Range

Default: 1

Unit: °

Angle Threshold

Description

Angle threshold. Pick points where the computed angle exceeds (or is below) this value are removed.

Parameter Range

Values/Range: [0, 180]

Unit: °

Grouping Interval

Description

Groups sorted results by this interval. A new group starts whenever the difference from the previous value exceeds this threshold.

Parameter Range

Values/Range: [0, 180]

Default: 180

Unit: °

Reference Point Position

Description

Set the reference point as an x, y, z value in the pick point coordinate frame.

Parameter Range

Default: [0, 0, 0]

Sort Order

Description

Specifies the sort order. Highest First places pick points with larger values first; Lowest First reverses this.

Parameter Range

Values/Range:

  • Highest First

  • Lowest First

Default: Highest First

Difference Threshold

Description

Threshold below which two values are considered equal and no ordering is applied between them. The current implementation internally fixes this value to 1; user input has no effect on actual behavior.

Parameter Range

Default: 1

Unit: mm

Distance Threshold

Description

Distance threshold. Pick points where the distance from the reference point exceeds (or is below) this value are removed.

Parameter Range

Values/Range: [0, 50000]

Unit: mm

Grouping Interval

Description

Groups sorted results by this interval. A new group starts whenever the difference from the previous value exceeds this threshold.

Parameter Range

Values/Range: [0, 50000]

Default: 10000

Unit: mm

Sort Order

Description

Specifies the sort order. Highest First places pick points with larger values first; Lowest First reverses this.

Parameter Range

Values/Range:

  • Highest First

  • Lowest First

Default: Highest First

Difference Threshold

Description

Threshold below which two values are considered equal and no ordering is applied between them. The current implementation internally fixes this value to 1; user input has no effect on actual behavior.

Parameter Range

Default: 1

Score Threshold

Description

Pick points with a score above (or below) this threshold are removed.

Parameter Range

Values/Range: [0, 100]

Default: 0.1

Grouping Interval

Description

Groups sorted results by this interval. A new group starts whenever the difference from the previous value exceeds this threshold.

Parameter Range

Values/Range: [0, 100]

Default: 1

Sort Order

Description

Specifies the sort order. Highest First places pick points with larger values first; Lowest First reverses this.

Parameter Range

Values/Range:

  • Highest First

  • Lowest First

Default: Highest First

Difference Threshold

Description

Threshold below which two values are considered equal and no ordering is applied between them. The current implementation internally fixes this value to 1; user input has no effect on actual behavior.

Parameter Range

Default: 1

Priority Threshold

Description

Pick points where the priority difference exceeds (or is below) this threshold are removed.

Parameter Range

Values/Range: [0, 10000]

Default: 0.0

Grouping Interval

Description

Groups sorted results by this interval. A new group starts whenever the difference from the previous value exceeds this threshold.

Parameter Range

Values/Range: [0, 10000]

Default: 10000

Sort Order

Description

Specifies the sort order. Highest First places pick points with larger values first; Lowest First reverses this.

Parameter Range

Values/Range:

  • Highest First

  • Lowest First

Default: Highest First

Bin Center Position

Description

Pose of the rectangular bin as a rotation vector of length 6. The origin is at the geometric center of the bin, with x and y axes of the pose matrix parallel to the bin sides.

Parameter Range

Default: [0, 0, 0, 0, 0, 0]

Bin X Half Length

Description

Half the length of the bin model in the X direction.

Parameter Range

Values/Range: [0, 50000]

Unit: mm

Bin Y Half Length

Description

Half the length of the bin model in the Y direction.

Parameter Range

Values/Range: [0, 50000]

Unit: mm

Difference Threshold

Description

Threshold below which two values are considered equal and no ordering is applied between them. The current implementation internally fixes this value to 1; user input has no effect on actual behavior.

Parameter Range

Default: 1

Unit: mm

Grouping Interval

Description

Groups sorted results by this interval. A new group starts whenever the difference from the previous value exceeds this threshold.

Parameter Range

Values/Range: [0, 50000]

Default: 10000

Unit: mm

Sort Order

Description

Specifies the sort order. Highest First places pick points with larger values first; Lowest First reverses this.

Parameter Range

Values/Range:

  • Highest First

  • Lowest First

Default: Highest First

Pick Point Axis

Description

Specifies an axis of the pick point coordinate frame: X Axis, Y Axis, or Z Axis.

Parameter Range

Values/Range:

  • X Axis

  • Y Axis

  • Z Axis

Default: X Axis

Bin Center Position

Description

Pose of the bin center in the pick point coordinate frame (typically the robot base frame), as a rotation vector of length 6.

Parameter Range

Default: [0, 0, 0, 0, 0, 0]

Bin X Half Length

Description

Half the length of the bin model in the X direction.

Parameter Range

Values/Range: [0, 10000]

Unit: mm

Bin Y Half Length

Description

Half the length of the bin model in the Y direction.

Parameter Range

Values/Range: [0, 10000]

Unit: mm

X Boundary Threshold

Description

X-direction threshold for the bin. Pick points whose X-direction difference from the bin center falls within this threshold are treated as equal priority and not compared.

Parameter Range

Values/Range: [0, 10000]

Unit: mm

Y Boundary Threshold

Description

Y-direction threshold for the bin. Pick points whose Y-direction difference from the bin center falls within this threshold are treated as equal priority and not compared.

Parameter Range

Values/Range: [0, 10000]

Unit: mm

Difference Threshold

Description

Threshold below which two values are considered equal and no ordering is applied between them. The current implementation internally fixes this value to 1; user input has no effect on actual behavior.

Parameter Range

Default: 1

Unit: °

Grouping Interval

Description

Groups sorted results by this interval. A new group starts whenever the difference from the previous value exceeds this threshold.

Parameter Range

Values/Range: [0, 180]

Default: 180

Unit: °

Sort Order

Description

Specifies the sort order. Highest First places pick points with larger values first; Lowest First reverses this.

Parameter Range

Values/Range:

  • Highest First

  • Lowest First

Default: Highest First

Tool Initial Position

Description

Initial pose of the tool tip as a rotation vector of length 6. Typically set to the planned initial pose.

Parameter Range

Default: [0, 0, 0, 0, 0, 0]

Difference Threshold

Description

Threshold below which two values are considered equal and no ordering is applied between them. The current implementation internally fixes this value to 1; user input has no effect on actual behavior.

Parameter Range

Default: 1

Unit: °

Grouping Interval

Description

Groups sorted results by this interval. A new group starts whenever the difference from the previous value exceeds this threshold.

Parameter Range

Values/Range: [0, 180]

Default: 180

Unit: °