Skip to content

Backport of #673 ("Adding static transform listener") to jazzy with ABI compatibility preserved#927

Open
araitaiga wants to merge 3 commits intoros2:jazzyfrom
araitaiga:backport-673-to-jazzy
Open

Backport of #673 ("Adding static transform listener") to jazzy with ABI compatibility preserved#927
araitaiga wants to merge 3 commits intoros2:jazzyfrom
araitaiga:backport-673-to-jazzy

Conversation

@araitaiga
Copy link
Copy Markdown

@araitaiga araitaiga commented Apr 18, 2026

Description

This backport adds support for a static-only transform listener in jazzy without changing the existing ABI surface.

ABI note:
the new static_only behavior is exposed via an added overload
(rather than a new default parameter on the existing ctor as in #673), so
the jazzy ABI is preserved for existing binaries.

Minor deviations from #673:
Test cleanups: fixed an empty-body test, renamed tflstfl, switched static lookupTransform calls to tf2::TimePointZero.

Is this user-facing behavior change?

Existing code using TransformListener is unaffected. New StaticTransformListener is available as in #673.

Did you use Generative AI?

Yes — Claude (Opus 4.7)

Additional Information

See #673 for the original motivation (#662).

CC: @ahcorde

Signed-off-by: Taiga Arai <araitaiga2020.service@gmail.com>
Signed-off-by: Taiga Arai <araitaiga2020.service@gmail.com>
@araitaiga araitaiga force-pushed the backport-673-to-jazzy branch from 0b31100 to 7d0e576 Compare April 19, 2026 01:17
Comment on lines +234 to +235
const rclcpp::SubscriptionOptionsWithAllocator<AllocatorT> & static_options,
bool static_only = false)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is breaking ABI

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ahcorde. Refactored in 0ae7cca to preserve the existing init() signature and put static_only on a new overload.

Verified with abidiff (jazzy vs this branch):

Functions changes summary: 0 Removed, 0 Changed, 6 Added functions
Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
Function symbols changes summary: 0 Removed, 3 Added function symbols not referenced by debug info
Variable symbols changes summary: 0 Removed, 3 Added variable symbols not referenced by debug info

Signed-off-by: Taiga Arai <araitaiga2020.service@gmail.com>
@araitaiga araitaiga requested a review from ahcorde April 29, 2026 05:54
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.

2 participants