Open sharminramli opened 1 month ago
@MichaelOrlov Thank you for the review. I've unfortunately been busy this week but I'm starting to work on the changes.
I have a question regarding:
Also it would be more usefull if service request such as start_discovery, stop_dicovery, record and stop will return true or false as result.
I am right now reusing the existing Stop.srv in rosbag2_interfaces which is being used by the player. If I create a new srv e.g. StopRecorder.srv to have the boolean response, I would also rename the existing Stop.srv to e.g. StopPlayer.srv to avoid confusion. That however might break a lot of existing code for users. Alternatively I could add the bool to the existing Stop.srv (and also set it in the player when called). What do you think would be the best way?
@sharminramli Adding a return value to the existing service requests looks like more safer option.
Adds the following services to rosbag2_transport::Recorder:
Fixes some issues with starting record again after stopping:
Closes https://github.com/ros2/rosbag2/issues/1634