BB.Dsl.Estimator.Input (bb v0.31.2)

Copy Markdown View Source

A declared input on a cross-sensor estimator.

Inputs are only used by link-nested estimators. Sensor-nested estimators consume their parent sensor's output implicitly.

Exactly one input on a multi-input estimator must be marked driver?: true. The driver's arrival triggers fan-in: the framework snapshots the most-recent non-driver input messages and dispatches them together. If any non-driver input is stale relative to the driver by more than the estimator's sync_tolerance, the dispatch is dropped.

Single-input link-nested estimators omit driver?: (or set it to true on the sole input).

max_input_age bounds how old an envelope on this path may be. It overrides the estimator-level max_input_age, so a 30 Hz camera and a 1 kHz force sensor feeding the same estimator can carry different staleness budgets.

Summary

Types

t()

@type t() :: %BB.Dsl.Estimator.Input{
  __identifier__: any(),
  __spark_metadata__: Spark.Dsl.Entity.spark_meta(),
  driver?: boolean(),
  max_input_age: nil | Localize.Unit.t(),
  name: atom(),
  path: [atom()]
}