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
Implement changes in io interfaces #7
Conversation
Signed-off-by: Zachary Michaels <zmichaels11@gmail.com>
rosbag2_bag_v2_plugins/src/rosbag2_bag_v2_plugins/storage/rosbag_v2_storage.hpp
Show resolved
Hide resolved
rosbag2_bag_v2_plugins/src/rosbag2_bag_v2_plugins/storage/rosbag_v2_storage.hpp
Show resolved
Hide resolved
rosbag2_bag_v2_plugins/src/rosbag2_bag_v2_plugins/storage/rosbag_v2_storage.cpp
Outdated
Show resolved
Hide resolved
Signed-off-by: Zachary Michaels <zmichaels11@gmail.com>
rosbag2_bag_v2_plugins/src/rosbag2_bag_v2_plugins/storage/rosbag_v2_storage.hpp
Show resolved
Hide resolved
rosbag2_bag_v2_plugins/src/rosbag2_bag_v2_plugins/storage/rosbag_v2_storage.hpp
Show resolved
Hide resolved
rosbag2_bag_v2_plugins/test/rosbag2_bag_v2_plugins/test_rosbag_v2_storage.cpp
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While the code generally LGTM, how could we cope with get_storage_identifier()
and get_bagfile_size()
being unimplemented here before? Are we in the process of expending the API?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmm the C++ code guidelines do not agree with me.
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#c139-use-final-sparingly
...so I guess override is ok.
Yeah, both functions were added into the API in anticipation of supporting bagfile splitting. I'll link the merged PR numbers related to these changes. |
👍 Thanks! |
Signed-off-by: Zachary Michaels <zmichaels11@gmail.com>
rosbag2_bag_v2_plugins/src/rosbag2_bag_v2_plugins/storage/rosbag_v2_storage.cpp
Outdated
Show resolved
Hide resolved
…ag_v2_storage.cpp Co-Authored-By: Thomas Moulard <thomas.moulard@gmail.com> Signed-off-by: Zachary Michaels <zmichaels11@gmail.com>
does it make sense to enhance this PR to comply with ros2/rosbag2#184? |
Yes, unless you want to merge this commit first. |
sounds good. Please go ahead and advance this PR with the changes needed and I we can run CI together on this. |
FYI, I've tried to use the current state of this PR and get the following compilation error:
|
Signed-off-by: Zachary Michaels <zmichaels11@gmail.com>
@jacobperron just resolved that issue; it was due to recent API changes introduced in ros2/rosbag2#184. @Karsten1987 This PR is ready |
@zmichaels11 Yep, thanks. I'm able to compile now. |
@Karsten1987 is there anything blocking this PR from merging? |
Implemented changes in IO interfaces that were introduced in recent commits to rosbag2.
Dependent PRs