Skip to content

modules.decision.strategies.consensus_opening

Classes Diagram

Module Dependencies

Classes

ConsensusOpeningStrategy

Count time steps where the estimated angle falls in at least one mic opening
that also has a positive drone inference. Emit the latest angle if enough
frames agree (temporal consensus).

Constructor

ConsensusOpeningStrategy(self, mic_infos: list[MicInfo], opening: float, min_matching_frames: int = 2)

Members

_ranges
_min_matching_frames

Methods

decide(self, angles: Sequence[float], inferences: Sequence[Sequence[bool]]) → float