-
Notifications
You must be signed in to change notification settings - Fork 261
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 storage_config_uri #493
Conversation
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.
sometimes I'd wish our code base was less complex
I agree - one opportunity to simplify here would be to deduplicate the code in SequentialCompressionWriter
by making it inherit from SequentialWriter
Plus some other comments. The complexity of adding this feature suggests to me that we're overdue for a bit of refactoring - it shouldn't be this hard.
rosbag2_storage/include/rosbag2_storage/storage_interfaces/base_io_interface.hpp
Show resolved
Hide resolved
Note - I am taking a pass at deduplicating all the See #511 |
Signed-off-by: Karsten Knese <[email protected]>
Signed-off-by: Karsten Knese <[email protected]>
Signed-off-by: Karsten Knese <[email protected]>
Signed-off-by: Karsten Knese <[email protected]>
5cdac32
to
2219919
Compare
@emersonknapp I kind of re-wrote this PR to call |
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.
Makes sense, this LGTM, no structural concerns.
Signed-off-by: Karsten Knese <[email protected]>
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.
👍 will be glad to merge this - it touches more things than I'd usually prefer
* add storage_config_uri Signed-off-by: Karsten Knese <[email protected]> * linters and tests Signed-off-by: Karsten Knese <[email protected]> * move storage options to rosbag2_storage Signed-off-by: Karsten Knese <[email protected]> * use storage options to open storage backends Signed-off-by: Karsten Knese <[email protected]> * add rosbag2_py to metapackage Signed-off-by: Karsten Knese <[email protected]>
* add storage_config_uri Signed-off-by: Karsten Knese <[email protected]> * linters and tests Signed-off-by: Karsten Knese <[email protected]> * move storage options to rosbag2_storage Signed-off-by: Karsten Knese <[email protected]> * use storage options to open storage backends Signed-off-by: Karsten Knese <[email protected]> * add rosbag2_py to metapackage Signed-off-by: Karsten Knese <[email protected]>
The struct was removed in #493, but in order to avoid a hard-break for users coming from Foxy I've added it back with a deprecation warning. Signed-off-by: Jacob Perron <[email protected]>
The struct was removed in #493, but in order to avoid a hard-break for users coming from Foxy I've added it back with a deprecation warning. Signed-off-by: Jacob Perron <[email protected]>
* add storage_config_uri Signed-off-by: Karsten Knese <[email protected]> * linters and tests Signed-off-by: Karsten Knese <[email protected]> * move storage options to rosbag2_storage Signed-off-by: Karsten Knese <[email protected]> * use storage options to open storage backends Signed-off-by: Karsten Knese <[email protected]> * add rosbag2_py to metapackage Signed-off-by: Karsten Knese <[email protected]>
The struct was removed in #493, but in order to avoid a hard-break for users coming from Foxy I've added it back with a deprecation warning. Signed-off-by: Jacob Perron <[email protected]>
* add storage_config_uri Signed-off-by: Karsten Knese <[email protected]> * linters and tests Signed-off-by: Karsten Knese <[email protected]> * move storage options to rosbag2_storage Signed-off-by: Karsten Knese <[email protected]> * use storage options to open storage backends Signed-off-by: Karsten Knese <[email protected]> * add rosbag2_py to metapackage Signed-off-by: Karsten Knese <[email protected]>
The struct was removed in #493, but in order to avoid a hard-break for users coming from Foxy I've added it back with a deprecation warning. Signed-off-by: Jacob Perron <[email protected]>
first step towards #437
sometimes I'd wish our code base was less complex, with less test code. I had to change 34 files to introduce one parameter to
open()
;-)I guess I'll leave this PR as is, with the new functionality throwing one use.