General Data Comparison V1

Description

This operator is used to compare two dynamic input data. Unlike the "General Condition Judgment" operator (which compares data with a fixed threshold), this operator receives data from two input ports ("Data to be compared 1" and "Data to be compared 2"), extracts attributes (such as value, length, or internal sub-attributes) from both based on user-defined rules for logical comparison, and finally outputs a boolean result.

Overview

Compares specified attributes of any two data items of the same type and outputs a boolean result.

Scenarios

  • Consistency Check: Checks if the data volume of two lists is consistent (e.g., whether the number of recognized objects is equal to the expected number of grabs).

  • Dynamic Threshold Judgment: Uses a dynamically changing value as a threshold to filter another data (e.g., judging whether the score of the current "Pick point" is higher than the previous highest score).

  • Attribute Comparison: Compares the same attribute of two different objects (e.g., comparing the Z-axis height of two "Poses" to determine which is higher).

Inputs and Outputs

Inputs

Data to be compared 1: The first input data (located on the left side of the logic expression), supports any type.

Data to be compared 2: The second input data (located on the right side of the logic expression), supports any type.

Outputs

True Output: Boolean value. Outputs True when the judgment condition (Data 1 op Data 2) is met.

False Output: Boolean value. Outputs True when the judgment condition is not met.

Parameters

Comparison Object Type

Description

Type of the comparison target object.

Parameter Range

Default: Float

Judge Condition

Description

Defines the logical operator used for comparison.

Tuning Instructions

Set the comparison logic:

  • Greater Than (>): Data 1 > Data 2

  • Greater Than or Equal To (>=): Data 1 >= Data 2

  • Equal To (==): Data 1 == Data 2

  • Not Equal To (!=): Data 1 != Data 2

  • Less Than (<): Data 1 < Data 2

  • Less Than or Equal To (⇐): Data 1 ⇐ Data 2

Parameter Range

Values/Range:

  • Less Than

  • Less Than or Equal To

  • Greater Than

  • Greater Than or Equal To

  • Equal To

  • Not Equal To

Default: Equal To

Compare Sub-Attribute

Description

Controls whether to access internal elements of the input data to retrieve attributes for comparison.

Tuning Instructions

  • Off (False): Compares only the attributes of the input data itself (such as the length of the entire list or the entire numerical value).

  • On (True): Enters the list to retrieve specific attributes of the first element for comparison.

Example: If two "Pose lists" are input, enabling this and selecting the z attribute will cause the operator to compare "the Z coordinate of the first pose in List 1" with "the Z coordinate of the first pose in List 2".

Parameter Range

Values/Range:

  • False

  • True

Default: False

Comparison Attribute

Description

This parameter is displayed dynamically based on the currently selected data type and determines which aspect of the two inputs is compared. You may compare the current value of the objects themselves, the length of a list, or a sub-attribute of an object. Make sure both inputs are being compared on the same comparable dimension; otherwise, even if their data types match, the result may not be meaningful.

Parameter Range

Values/Range:

  • List Length

  • Current Value

  • UUID Identifier

  • Confidence

  • Polygon

  • Class Name

  • Angle

  • Minimum Area Rectangle

  • Minimum Bounding Box

  • Pose

  • Model Name

  • Point Cloud Index

  • id

  • Priority

  • Pick Point Name

  • Pick Point Original Pose

  • Status Code

  • Status Message

  • Status Type

  • Minimum Value

  • Maximum Value

  • Rotation Relationship

  • Center Point

  • Dimensions

  • Image Area

  • Image Channels

  • Image Height

  • Image Width

  • Tag

  • Point Cloud Point Count

  • Point Cloud Data Type

Internal Element Attribute

Description

This parameter is displayed dynamically based on the currently selected data type and, when "Compare Sub-Attribute" is enabled, specifies the internal field that is actually compared between the two inputs. Make sure you are selecting a corresponding field on both sides; otherwise, the comparison result may not be meaningful.

Parameter Range

Values/Range:

  • List Length

  • Current Value

  • UUID Identifier

  • Confidence

  • Polygon

  • Class Name

  • Angle

  • Minimum Area Rectangle

  • Minimum Bounding Box

  • Pose

  • Model Name

  • Point Cloud Index

  • id

  • Priority

  • Pick Point Name

  • Pick Point Original Pose

  • Status Code

  • Status Message

  • Status Type

  • Minimum Value

  • Maximum Value

  • Rotation Relationship

  • Center Point

  • Dimensions

  • Image Area

  • Image Channels

  • Image Height

  • Image Width

  • Tag

  • Point Cloud Point Count

  • Point Cloud Data Type

Comparison Attribute

Description

For this data type in the current node, only the value option is available, meaning the value or content of the input object itself is compared directly. Length or internal-attribute comparison is not provided.

Parameter Range

Values/Range:

  • value

Default: value

Comparison Attribute

Description

For this data type in the current node, only the value option is available, meaning the value or content of the input object itself is compared directly. Length or internal-attribute comparison is not provided.

Parameter Range

Values/Range:

  • value

Default: value

Comparison Attribute

Description

For this data type in the current node, only the value option is available, meaning the value or content of the input object itself is compared directly. Length or internal-attribute comparison is not provided.

Parameter Range

Values/Range:

  • value

Default: value

Comparison Attribute

Description

For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic.

Parameter Range

Values/Range:

  • len

  • value

Default: len

Comparison Attribute

Description

For this data type in the current node, only the value option is available, meaning the value or content of the input object itself is compared directly. Length or internal-attribute comparison is not provided.

Parameter Range

Values/Range:

  • value

Default: value

Comparison Attribute

Description

For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic.

Parameter Range

Values/Range:

  • len

  • value

Default: len

Comparison Attribute

Description

For this data type in the current node, only the value option is available, meaning the value or content of the input object itself is compared directly. Length or internal-attribute comparison is not provided.

Parameter Range

Values/Range:

  • value

Default: value

Comparison Attribute

Description

For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic.

Parameter Range

Values/Range:

  • len

  • value

Default: len

Comparison Attribute

Description

For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic.

Parameter Range

Values/Range:

  • len

  • value

Default: len

Comparison Attribute

Description

For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic.

Parameter Range

Values/Range:

  • len

  • value

Default: len

Comparison Attribute

Description

For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic.

Parameter Range

Values/Range:

  • len

  • value

Default: len

Comparison Attribute

Description

For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic.

Parameter Range

Values/Range:

  • len

  • value

Default: len

Comparison Attribute

Description

For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic.

Parameter Range

Values/Range:

  • len

  • value

Default: len

Comparison Attribute

Description

For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic.

Parameter Range

Values/Range:

  • len

  • value

Default: len

Comparison Attribute

Description

For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic.

Parameter Range

Values/Range:

  • len

  • value

Default: len

Comparison Attribute

Description

For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic.

Parameter Range

Values/Range:

  • len

  • value

Default: len

Comparison Attribute

Description

For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic.

Parameter Range

Values/Range:

  • len

  • value

Default: len

Comparison Attribute

Description

For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic.

Parameter Range

Values/Range:

  • len

  • value

Default: len

Comparison Attribute

Description

For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic.

Parameter Range

Values/Range:

  • len

  • value

Default: len

Comparison Attribute

Description

For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic.

Parameter Range

Values/Range:

  • len

  • value

Default: len

Comparison Attribute

Description

For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic.

Parameter Range

Values/Range:

  • len

  • value

Default: len

Comparison Attribute

Description

For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic.

Parameter Range

Values/Range:

  • len

  • value

Default: len

Comparison Attribute

Description

For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic.

Parameter Range

Values/Range:

  • len

  • value

Default: len

Comparison Attribute

Description

For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic.

Parameter Range

Values/Range:

  • len

  • value

Default: len

Internal Element Attribute

Description

Specifies which internal field is actually used for judgment or comparison in the current node. Available options are UUID Identifier, Confidence, Class Name, Angle. Choose the field you want to use as the comparison basis, such as identifier, score, size, index, or tag-related information.

Parameter Range

Values/Range:

  • UUID Identifier

  • Confidence

  • Class Name

  • Angle

Default: UUID Identifier

Internal Element Attribute

Description

Specifies which internal field is actually used for judgment or comparison in the current node. Available options are UUID Identifier, Confidence, Model Name, Point Cloud Index, Class Name. Choose the field you want to use as the comparison basis, such as identifier, score, size, index, or tag-related information.

Parameter Range

Values/Range:

  • UUID Identifier

  • Confidence

  • Model Name

  • Point Cloud Index

  • Class Name

Default: UUID Identifier

Internal Element Attribute

Description

Specifies which internal field is actually used for judgment or comparison in the current node. Available options are id, priority, uuid, score, name, model_binding_name. Choose the field you want to use as the comparison basis, such as identifier, score, size, index, or tag-related information.

Parameter Range

Values/Range:

  • id

  • Priority

  • UUID Identifier

  • Confidence

  • Pick Point Name

  • Model Name

Default: id

Internal Element Attribute

Description

Specifies which internal field is actually used for judgment or comparison in the current node. Available options are Status Code, Status Message, Status Type. Choose the field you want to use as the comparison basis, such as identifier, score, size, index, or tag-related information.

Parameter Range

Values/Range:

  • Status Code

  • Status Message

  • Status Type

Default: Status Code

Internal Element Attribute

Description

Specifies which internal field is actually used for judgment or comparison in the current node. Available options are Image Area, Image Channels, Image Height, Image Width, Tag. Choose the field you want to use as the comparison basis, such as identifier, score, size, index, or tag-related information.

Parameter Range

Values/Range:

  • Image Area

  • Image Channels

  • Image Height

  • Image Width

  • Tag

Default: Image Area

Internal Element Attribute

Description

Specifies which internal field is actually used for judgment or comparison in the current node. Available options are Image Area, Image Channels, Image Height, Image Width, Tag. Choose the field you want to use as the comparison basis, such as identifier, score, size, index, or tag-related information.

Parameter Range

Values/Range:

  • Image Area

  • Image Channels

  • Image Height

  • Image Width

  • Tag

Default: Image Area

Internal Element Attribute

Description

Specifies which internal field is actually used for judgment or comparison in the current node. Available options are Image Area, Image Channels, Image Height, Image Width, Tag. Choose the field you want to use as the comparison basis, such as identifier, score, size, index, or tag-related information.

Parameter Range

Values/Range:

  • Image Area

  • Image Channels

  • Image Height

  • Image Width

  • Tag

Default: Image Area

Internal Element Attribute

Description

Specifies which internal field is actually used for judgment or comparison in the current node. Available options are Image Area, Image Channels, Image Height, Image Width, Tag. Choose the field you want to use as the comparison basis, such as identifier, score, size, index, or tag-related information.

Parameter Range

Values/Range:

  • Image Area

  • Image Channels

  • Image Height

  • Image Width

  • Tag

Default: Image Area

Internal Element Attribute

Description

Specifies which internal field is actually used for judgment or comparison in the current node. Available options are Point Count, Point Data Type, Tag. Choose the field you want to use as the comparison basis, such as identifier, score, size, index, or tag-related information.

Parameter Range

Values/Range:

  • Point Cloud Point Count

  • Point Cloud Data Type

  • Tag

Default: Point Cloud Point Count

Internal Element Attribute

Description

Specifies which internal field is actually used for judgment or comparison in the current node. Available options are Point Count, Point Data Type, Tag. Choose the field you want to use as the comparison basis, such as identifier, score, size, index, or tag-related information.

Parameter Range

Values/Range:

  • Point Cloud Point Count

  • Point Cloud Data Type

  • Tag

Default: Point Cloud Point Count

Internal Element Attribute

Description

Specifies which internal field is actually used for judgment or comparison in the current node. Available options are Point Count, Point Data Type, Tag. Choose the field you want to use as the comparison basis, such as identifier, score, size, index, or tag-related information.

Parameter Range

Values/Range:

  • Point Cloud Point Count

  • Point Cloud Data Type

  • Tag

Default: Point Cloud Point Count