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

Add on play message callbacks to the rosbag2::Player class #1004

Merged
merged 3 commits into from
Jun 2, 2022

Conversation

MichaelOrlov
Copy link
Contributor

@MichaelOrlov MichaelOrlov commented May 10, 2022

Address #1003
Added new API:
add_on_play_message_pre_callback(const play_msg_callback_t & callback)
add_on_play_message_post_callback(const play_msg_callback_t & callback)
delete_on_play_message_callback(const callback_handle_t & handle)

Signed-off-by: Michael Orlov michael.orlov@apex.ai

Added new API
add_on_play_message_pre_callback(const play_msg_callback_t & callback)
add_on_play_message_post_callback(const play_msg_callback_t & callback)
delete_on_play_message_callback(const callback_handle_t & handle)

Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
@MichaelOrlov MichaelOrlov requested a review from a team as a code owner May 10, 2022 01:16
@MichaelOrlov MichaelOrlov requested review from gbiggs, hidmic and emersonknapp and removed request for a team May 10, 2022 01:16
@MichaelOrlov
Copy link
Contributor Author

@gbiggs @hidmic @emersonknapp Kindly ping for review.

Copy link
Member

@gbiggs gbiggs left a comment

Choose a reason for hiding this comment

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

This looks great! I only have a couple of comments, one of which is for my own education more than anything else.

@gbiggs
Copy link
Member

gbiggs commented Jun 1, 2022

CI:

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

Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
@MichaelOrlov
Copy link
Contributor Author

@gbiggs I pushed new commit to fix warnings on Windows build.

@gbiggs
Copy link
Member

gbiggs commented Jun 2, 2022

Rerunning Windows CI: Build Status

Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
@gbiggs
Copy link
Member

gbiggs commented Jun 2, 2022

LGTM; ready to merge.

@MichaelOrlov MichaelOrlov merged commit 51a6ec4 into master Jun 2, 2022
@delete-merged-branch delete-merged-branch bot deleted the morlov/add-callbacks-before-after-message-play branch June 2, 2022 05:57
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.

On play message callbacks
2 participants