-
Notifications
You must be signed in to change notification settings - Fork 255
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 support for compression to python API #1425
Add support for compression to python API #1425
Conversation
7750791
to
04d394c
Compare
5360fde
to
3ed0db8
Compare
Signed-off-by: Andrew Symington <andrew.c.symington@gmail.com>
056855b
to
2e9d2e0
Compare
Looks like I am having some trouble setting up an environment in CI in such a way where the |
Signed-off-by: Andrew Symington <andrew.c.symington@gmail.com>
e0714c5
to
fa37d34
Compare
FIxed the CI issue -- @emersonknapp this is ready for review! |
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.
@asymingt Thank you for the PR.
The implementation looks good to me.
However, could you please add verification with the bag read in the test?
Signed-off-by: Andrew Symington <andrew.c.symington@gmail.com>
3a12ecc
to
e24c3a5
Compare
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.
LGTM with green CI.
Gist: https://gist.githubusercontent.com/MichaelOrlov/d3b52e3761849bce82ac7327b8857aad/raw/dd03423ee8be86276b58780846908b53c66573f3/ros2.repos |
Looks like the one failure is unrelated, right?
|
This pull request has been mentioned on ROS Discourse. There might be relevant details there: https://discourse.ros.org/t/ros-2-tsc-meeting-minutes-2023-07-20/32525/1 |
Attempt to fix #1407.
This PR adds Python bindings for
CompressionOptions
andCompressionMode
, which enables us to correctly construct aSequentialCompressionWriter
, which in turn allows us greater flexibility with writing compressed bag files. It also adds a few tests to exercise the new bindings and show that aSequentialCompressionWriter
performs as expected using thezstd
compression plugin.