CompareSync Operators
A family of operators that synchronize two NumberData streams by timestamp and emit the result of a comparison as BooleanData.
Common Ports
| Port | Direction | Type | Description |
|---|---|---|---|
| i1 | data | NumberData | Left-hand side value |
| i2 | data | NumberData | Right-hand side value |
| o1 | output | BooleanData | Comparison result (i1 OP i2) |
Pairs of messages are matched by timestamp. A result is emitted only when both i1 and i2 have messages at the same timestamp.
Available Operators
| Type | Expression | Parameters |
|---|---|---|
| CompareSyncGT | i1 > i2 | none |
| CompareSyncLT | i1 < i2 | none |
| CompareSyncGTE | i1 ≥ i2 | none |
| CompareSyncLTE | i1 ≤ i2 | none |
| CompareSyncEQ | |i1 − i2| ≤ tolerance | tolerance (default 0.0) |
| CompareSyncNEQ | |i1 − i2| > tolerance | tolerance (default 0.0) |