Skip to content

Add a Python implementation of InputAligner #282

@dvorak0

Description

@dvorak0

Summary

The package currently provides a C++ InputAligner implementation in include/message_filters/input_aligner.hpp, but there is no equivalent Python API in message_filters/__init__.py.

It would be useful to add a Python implementation with behavior aligned to the existing C++ version, including parity tests for the core dispatch / timeout / drop semantics.

Motivation

Python users of message_filters currently do not have access to InputAligner, while several other filters already provide both C++ and Python interfaces. Adding Python support would make the API surface more consistent across languages.

Proposed scope

  • add message_filters.input_aligner.InputAligner in Python
  • export it from the Python package
  • add parity-style Python tests covering ordering, inactive inputs, timeout behavior, dropped messages, timer dispatch, and queue status

Related work

A downstream rolling PR already exists here:

That PR cherry-picks the humble implementation work onto rolling and can be used as a reference when discussing an upstreamable version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions