Skip to content
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

Allow to create a subscription with a callback that also receives the message info #922

Merged
merged 6 commits into from
Apr 26, 2022

Conversation

ivanpauno
Copy link
Member

@ivanpauno ivanpauno commented Apr 8, 2022

The cpp Subscription.take_message() was also updated to include reception_sequence_number/publication_sequence_number in the message info.

This should be merged AFTER the API freeze ends.

… message info

Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
rclpy/rclpy/executors.py Outdated Show resolved Hide resolved
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
@ivanpauno ivanpauno self-assigned this Apr 8, 2022
@ivanpauno ivanpauno added the enhancement New feature or request label Apr 8, 2022
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
rclpy/rclpy/executors.py Outdated Show resolved Hide resolved
rclpy/rclpy/subscription.py Outdated Show resolved Hide resolved
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Copy link
Member

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
@ivanpauno
Copy link
Member Author

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

@ivanpauno
Copy link
Member Author

ivanpauno commented Apr 26, 2022

Humble was already branched off, so merging!

@ivanpauno ivanpauno merged commit 1992071 into master Apr 26, 2022
@delete-merged-branch delete-merged-branch bot deleted the ivanpauno/subscription-callback-with-message-info branch April 26, 2022 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants