Filter Bbox Pose avatar

Filter Bbox Pose

0 versions
Open in App

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

TypeDescription
BoolGate flag.
tValue to conditionally forward.

Outputs

TypeDescription
tThe 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 Bool alert 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 message upstream if you need to retain rejected values for audit.