-
Notifications
You must be signed in to change notification settings - Fork 260
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
[compression] Enable compression through ros2bag cli #263
Conversation
a6c2213
to
db94ab0
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.
Some minor changes but LGTM.
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.
Other than some nits seems fine.
96deb6d
to
089c971
Compare
Rebased onto master and resolved redundancy issue. |
Any comments? I'd like to merge this tonight if possible. |
// TODO(zmichaels11): Remove when stop_execution properly SIGINT on Windows. | ||
// This is required since stop_execution hard kills the proces on Windows, | ||
// which prevents the metadata from being written. |
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.
Does this mean this feature is broken on Windows? Did we test this on this platform?
Somehow I can't approve this PR, but this LGTM. Let's make sure we test rosbag2 on windows and OS X too. The TODO in the test is worrying. |
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.
See previous comment.
@ros2/aws-oncall - please run this CI job |
This was failing earlier due to me configuring the build wrong. |
The e2e tests on windows are failing due to the SIGINT workaround for Windows. Similarly, |
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.
I do approve as I think the tests cover the new functionality (please make sure CI turns out to be green).
But I am getting a bit concerned about this windows workaround as well, as we copied this one all over the place now within the end to end tests.
rosbag2_tests/test/rosbag2_tests/test_rosbag2_record_end_to_end.cpp
Outdated
Show resolved
Hide resolved
rosbag2_tests/test/rosbag2_tests/test_rosbag2_record_end_to_end.cpp
Outdated
Show resolved
Hide resolved
37fd6a2
to
bbbb91b
Compare
Signed-off-by: Zachary Michaels <[email protected]>
27e6746
to
b02e45a
Compare
a301c3d
to
2b88fa0
Compare
Signed-off-by: Zachary Michaels <[email protected]>
2b88fa0
to
c7d3b94
Compare
This is working now. I'm going to refactor the work done into single-focus PRs
This PR should be rebased onto master once both of those PRs are merged in. |
Signed-off-by: Anas Abou Allaban <[email protected]>
Signed-off-by: Zachary Michaels <[email protected]>
Signed-off-by: Zachary Michaels <[email protected]>
Signed-off-by: Zachary Michaels <[email protected]>
Signed-off-by: Zachary Michaels <[email protected]>
Signed-off-by: Zachary Michaels <[email protected]>
Signed-off-by: Zachary Michaels <[email protected]>
Signed-off-by: Zachary Michaels <[email protected]>
Signed-off-by: Zachary Michaels <[email protected]>
Signed-off-by: Zachary Michaels <[email protected]>
Signed-off-by: Zachary Michaels <[email protected]>
Signed-off-by: Anas Abou Allaban <[email protected]>
3d714d1
to
4a9feb3
Compare
Signed-off-by: Anas Abou Allaban <[email protected]>
ca9cbcf
to
a8b7e3d
Compare
Signed-off-by: Zachary Michaels <[email protected]>
Changes
--compression-mode
and--compression-format
arguments forros2bag
rosbag2_transport
instantiatesSequentialCompressionReader
orSequentialCompressionWriter
if bothcompression-mode
andcompression-format
are specified.Testing