Skip to content

feat(python): add InputAligner on humble base#3

Open
dvorak0 wants to merge 53 commits into
rollingfrom
feat/python-input-aligner-humble
Open

feat(python): add InputAligner on humble base#3
dvorak0 wants to merge 53 commits into
rollingfrom
feat/python-input-aligner-humble

Conversation

@dvorak0
Copy link
Copy Markdown
Member

@dvorak0 dvorak0 commented Apr 15, 2026

Summary

  • add a Python InputAligner implementation on top of the upstream humble branch
  • export it from the Python package
  • add Python tests covering core InputAligner behavior

Notes

  • this work is based on upstream/humble rather than trying to make rolling build on Humble
  • C++ InputAligner semantics were referenced from upstream branch sa-input_aligner
  • this PR currently focuses on the Python side only

gbiggs and others added 30 commits June 20, 2022 14:02
Signed-off-by: Geoffrey Biggs <[email protected]>
* adding latest time zoh policy

Signed-off-by: Michael Anderson <[email protected]>

* remove commented code

* Update include/message_filters/sync_policies/latest_time.h

Co-authored-by: Chris Lalancette <[email protected]>

* updates from PR comments

Signed-off-by: Michael Anderson <[email protected]>

* cleanup includes

Signed-off-by: Michael Anderson <[email protected]>

* adding documentation

Signed-off-by: Michael Anderson <[email protected]>

* Update include/message_filters/sync_policies/latest_time.h

Co-authored-by: Louise Poubel <[email protected]>

* address PR comments; add new test for if pivot changes rate and new one is selected

Signed-off-by: Michael Anderson <[email protected]>

* adding message rate step change detection and EMA filter reset

Signed-off-by: Michael Anderson <[email protected]>

* whitespace

Signed-off-by: Michael Anderson <[email protected]>

* whitespace

Signed-off-by: Michael Anderson <[email protected]>

* detect if pivot message is late

Signed-off-by: Michael Anderson <[email protected]>

* add ChangeRateLeading test

Signed-off-by: Michael Anderson <[email protected]>

* whitespace

Signed-off-by: Michael Anderson <[email protected]>

* Update include/message_filters/sync_policies/latest_time.h

Co-authored-by: Chris Lalancette <[email protected]>

* add option to take instance of rclcpp::Clock; make magic numbers configs; other PR comments

Signed-off-by: Michael Anderson <[email protected]>

* clean up; handle zero period

Signed-off-by: Michael Anderson <[email protected]>

* check for late message after avg error is calculated

Signed-off-by: Michael Anderson <[email protected]>

* control test timing with sim time

Signed-off-by: Michael Anderson <[email protected]>

* fix msbuild compiler warnings

Signed-off-by: Michael Anderson <[email protected]>

Signed-off-by: Michael Anderson <[email protected]>
Co-authored-by: Chris Lalancette <[email protected]>
Co-authored-by: Louise Poubel <[email protected]>
(cherry picked from commit e0055f3)

Co-authored-by: andermi <[email protected]>
Signed-off-by: Audrow Nash <[email protected]>
* explicitly name std placeholder in cache

(cherry picked from commit b3cad03)

Co-authored-by: Haoru Xue <[email protected]>
Signed-off-by: Audrow Nash <[email protected]>
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
* Move Docs From Wiki (ros2#119)

Signed-off-by: CursedRock17 <[email protected]>
Signed-off-by: Lucas Wendland <[email protected]>
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
Co-authored-by: Lucas Wendland <[email protected]>
Co-authored-by: Alejandro Hernández Cordero <[email protected]>
Signed-off-by: Audrow Nash <[email protected]>
(cherry picked from commit 952340a)

Co-authored-by: Tim Clephas <[email protected]>
Signed-off-by: Alejandro Hernandez Cordero <[email protected]>
(cherry picked from commit 001129d)

Signed-off-by: EsipovPA <[email protected]>
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
Co-authored-by: Pavel Esipov <[email protected]>
Co-authored-by: Alejandro Hernández Cordero <[email protected]>
* Fix cache tutorial: added tab extension (ros2#190)

Signed-off-by: Alejandro Hernandez Cordero <[email protected]>
(cherry picked from commit 4f4e42f)
Signed-off-by: Christophe Bedard <[email protected]>
Signed-off-by: Christophe Bedard <[email protected]>
(cherry picked from commit c7821ef)

Signed-off-by: EsipovPA <[email protected]>
Co-authored-by: Pavel Esipov <[email protected]>
Signed-off-by: Alejandro Hernandez Cordero <[email protected]>
(cherry picked from commit b6496c3)

Signed-off-by: EsipovPA <[email protected]>
Co-authored-by: Pavel Esipov <[email protected]>
* Some fixes to documentation (ros2#208)

Signed-off-by: Alejandro Hernandez Cordero <[email protected]>
(cherry picked from commit e849a8e)
Signed-off-by: Alejandro Hernandez Cordero <[email protected]>
(cherry picked from commit 6362c1b)

Signed-off-by: Martin Pecka <[email protected]>
Co-authored-by: Martin Pecka <[email protected]>
…2#216)

* Add Python implementation for a Chain filter (ros2#213)

Signed-off-by: EsipovPA <[email protected]>
(cherry picked from commit 0617849)
Signed-off-by: Alejandro Hernandez Cordero <[email protected]>
Co-authored-by: Pavel Esipov <[email protected]>
Co-authored-by: Alejandro Hernandez Cordero <[email protected]>
Signed-off-by: Alejandro Hernandez Cordero <[email protected]>
mergify Bot and others added 23 commits November 13, 2025 09:12
(cherry picked from commit b64e5ef)

Signed-off-by: EsipovPA <[email protected]>
Co-authored-by: Pavel Esipov <[email protected]>
Signed-off-by: EsipovPA <[email protected]>
Signed-off-by: Pavel Esipov <[email protected]>
Co-authored-by: Pavel Esipov <[email protected]>
…#242)

* ros2#130 add simple filter tutorial for cpp (ros2#239)

Signed-off-by: EsipovPA <[email protected]>
(cherry picked from commit 92af2b7)
Signed-off-by: Alejandro Hernandez Cordero <[email protected]>
Co-authored-by: Pavel Esipov <[email protected]>
Co-authored-by: Alejandro Hernandez Cordero <[email protected]>
…izer impl (backport ros2#238) (ros2#245)

* ros2#200 fix inconsistensy between cpp and python exact time synchronizer impl (ros2#238)

Signed-off-by: EsipovPA <[email protected]>
Signed-off-by: Dominik <[email protected]>
Co-authored-by: Dominik <[email protected]>
(cherry picked from commit 8cf647e)

Signed-off-by: Alejandro Hernandez Cordero <[email protected]>
Co-authored-by: Pavel Esipov <[email protected]>
Co-authored-by: Alejandro Hernandez Cordero <[email protected]>
Signed-off-by: Alejandro Hernandez Cordero <[email protected]>
) (ros2#250)

Fixes callers that use callback_group


(cherry picked from commit 83367a1)

Signed-off-by: Alex Spitzer <[email protected]>
Co-authored-by: Alex Spitzer <[email protected]>
Signed-off-by: Alejandro Hernandez Cordero <[email protected]>
Signed-off-by: Christophe Bedard <[email protected]>
Signed-off-by: Christophe Bedard <[email protected]>
…. Add docstring to filters and comparison handlers (ros2#252) (ros2#260)

(cherry picked from commit 958bc94)

Co-authored-by: Pavel Esipov <[email protected]>
…ync policy

Signed-off-by: EsipovPA <[email protected]>
(cherry picked from commit 8eaeafe)
…ks with the right language markings

Signed-off-by: EsipovPA <[email protected]>
(cherry picked from commit e951e8a)
…links to other tutorials as required. Rename Approximate-Tyme tutorial to Approximate-Time (ros2#266)

Signed-off-by: EsipovPA <[email protected]>
(cherry picked from commit 55a7fd9)
Signed-off-by: Alejandro Hernandez Cordero <[email protected]>
… (ros2#276)

* (ros2#221) DeltaFilter(C++): Add DeltaFilter class. Add tests (ros2#273) (ros2#273)

Signed-off-by: EsipovPA <[email protected]>
(cherry picked from commit 4c72d7a)
Signed-off-by: EsipovPA <[email protected]>
Signed-off-by: Alejandro Hernandez Cordero <[email protected]>
Co-authored-by: Pavel Esipov <[email protected]>
Co-authored-by: Alejandro Hernandez Cordero <[email protected]>
Signed-off-by: Alejandro Hernandez Cordero <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants