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.
Summary
The package currently provides a C++
InputAlignerimplementation ininclude/message_filters/input_aligner.hpp, but there is no equivalent Python API inmessage_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_filterscurrently do not have access toInputAligner, 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
message_filters.input_aligner.InputAlignerin PythonRelated 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.