
Filter Bbox Pose
0 versions
Filter
Emits the second input only when the first input (a boolean) is true. Drops the value when the boolean is false.
Use this when
- You want to gate values based on a runtime condition (e.g. only forward a sensor reading when an alert flag is set).
- You are building event-driven pipelines where emission depends on dynamic criteria.
- You need a simple drop/pass switch without writing a custom component.
What it does
Consumes one Bool and one value of any type per tick. If the boolean is true, emits the value unchanged. If the boolean is false, emits nothing.
Inputs
| Type | Description |
|---|---|
Bool | Gate flag. |
t | Value to conditionally forward. |
Outputs
| Type | Description |
|---|---|
t | The input value, emitted only if gate is true. |
Parameters
This transformation takes no parameters.
Works best with
- Threshold or anomaly-detection components that emit a
Boolalert flag. - Downstream storage or notification components that should only fire on alert.
Caveats
- Both inputs are consumed per tick. If one stream outpaces the other, pipeline back-pressure applies.
- Dropped values are gone — pair with
Log messageupstream if you need to retain rejected values for audit.