Skip to content

[ROS2PoseControl] fix build with ROS 2 Lyrical - #190

Merged
jhanca-robotecai merged 1 commit into
o3de-2605from
jh/fix_lyrical2
Sep 18, 2026
Merged

jhanca-robotecai merged 1 commit into
o3de-2605from
jh/fix_lyrical2

Conversation

@jhanca-robotecai

Copy link
Copy Markdown
Collaborator

What does this PR do?

Fixes a build failure against ROS 2 Lyrical where the deprecated mutable-SharedPtr subscription callback overload is treated as an error under -Werror -Wdeprecated-declarations. Switched to ConstSharedPtr, which is backward-compatible with older distros (Humble, Jazzy) since that overload has always been supported.

How to test

Builds and runs.


Screenshots / Logs / Supporting Evidence (if applicable)

Add screenshots, terminal logs, or relevant links to builds/tests as needed.


Committer Checklist

Please confirm the following before marking this PR as ready for review:

  • Code changes are well-documented
  • Tests have been added or updated
  • Code owners file and CI config were updated if new Gem was added
  • The code is formatted according to the project's style guide
  • The version number has been updated according to the contributing guidelines

Signed-off-by: Jan Hanca <jan.hanca@robotec.ai>
@jhanca-robotecai
jhanca-robotecai merged commit 7c91d58 into o3de-2605 Sep 18, 2026
1 check passed
@jhanca-robotecai
jhanca-robotecai deleted the jh/fix_lyrical2 branch September 18, 2026 07:56
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