Skip to content

Conversation

@aprotyas
Copy link
Member

@aprotyas aprotyas commented Aug 20, 2021

ros2/rclcpp#1713 deprecates the void shared_ptr<T> subscription callback signatures, so this PR introduces the RCLCPP_AVOID_DEPRECATIONS_FOR_UNIT_TESTS macro to suppress warnings from the tests requiring these deprecated signatures.

Said tests (those with NonConstHelper) have to be removed once the deprecated signatures are removed from rclcpp.

Signed-off-by: Abrar Rahman Protyasha [email protected]

Said tests have to be removed once the deprecated signatures are
removed from rclcpp.

Signed-off-by: Abrar Rahman Protyasha <[email protected]>
@aprotyas
Copy link
Member Author

CI (build/test: --packages-above-and-dependencies message_filters)

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@aprotyas
Copy link
Member Author

aprotyas commented Aug 20, 2021

Ignore the botched CI job. The warnings came from interactive_markers, where I didn't push the patch to deal with the deprecation and in robot_state_publisher, which used the repo from the ros org and not my fork.

I am running a full CI instead to target all the changes necessitated by the deprecation in ros2/rclcpp#1713.

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@aprotyas
Copy link
Member Author

Yellow CI for Windows is unrelated to this package - originates from system_tests packages.

@aprotyas aprotyas merged commit ee9f798 into master Aug 23, 2021
@delete-merged-branch delete-merged-branch bot deleted the aprotyas/deprecate-shared-ptr-sub-callback branch August 23, 2021 07:41
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.

3 participants