Skip to content

[draft] Add on start recording callback for Recorder#2340

Draft
MichaelOrlov wants to merge 1 commit intorollingfrom
morlov/add_on_start_recording_callback
Draft

[draft] Add on start recording callback for Recorder#2340
MichaelOrlov wants to merge 1 commit intorollingfrom
morlov/add_on_start_recording_callback

Conversation

@MichaelOrlov
Copy link
Contributor

Description

This PR adds a new public API set_on_start_recording_callback() to the rosbag2_transport::Recorder class, which sets the callback to be invoked when recording is started.

Motivation:
We need to know on a C++ layer when rosbag2_transport::Recorder starts recording is triggered via a service call or possibly by other means (from another thread).

  • Fixes # N/A

Is this user-facing behavior change?

No.

Did you use Generative AI?

No.

Additional Information

Can be backported.

- Sets the callback to be invoked when recording is started.

Signed-off-by: Michael Orlov <morlovmr@gmail.com>
@MichaelOrlov MichaelOrlov changed the title Add on start recording callback for Recorder [draft] Add on start recording callback for Recorder Feb 13, 2026
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.

1 participant