-
Notifications
You must be signed in to change notification settings - Fork 483
Deprecate the shared_ptr<MessageT> subscription callback signatures #2975
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: rolling
Are you sure you want to change the base?
Conversation
Signed-off-by: mini-1235 <[email protected]>
|
I have pulled and built the ROS2 repos from https://raw.githubusercontent.com/ros2/ros2/rolling/ros2.repos (Please let me know if there are any other repos I should include) Removing
Removing/Deprecating
|
fujitatomoya
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mini-1235 thanks for fixing up all the related packages and repositories.
changing signatures are totally fine things to do including this PR, but i want to discuss with you on either we should enforcement or deprecation here for the next release.
Signed-off-by: mini-1235 <[email protected]>
|
I am not sure how to deal with the deprecated tests here rclcpp/rclcpp/test/rclcpp/test_any_subscription_callback.cpp Lines 683 to 723 in 1500449
Should I add |
Please do! Then we can remove them in the next cycle with find/replace |
Signed-off-by: mini-1235 <[email protected]>
Signed-off-by: mini-1235 <[email protected]>
Added! |
Signed-off-by: mini-1235 <[email protected]>
fujitatomoya
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm with green CI.
|
Pulls: #2975 |
Description
Fixes #2972
Is this user-facing behavior change?
Yes
Did you use Generative AI?
No
Additional Information
When working on this PR, I noticed that #1713 only deprecates
MessageT. However, looking at the comment here:rclcpp/rclcpp/include/rclcpp/any_subscription_callback.hpp
Lines 140 to 154 in eb49444
it looks like the type_adaptation/serialized message are not yet deprecated, how should we proceed?
In the meantime, I have also updated the tests for type_adaptation/serialized to use
std::shared_ptr<const>