This repository has been archived by the owner on Nov 30, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to using the vendored zstd library. (#59)
* Switch to using the vendored zstd library. We already have it vendored in the core as necessary. Signed-off-by: Chris Lalancette <[email protected]> * Add `can_write_mcap_with_zstd_configured_from_yaml` test - Add unit test to check that rosbag2_mcap_storage plugin can write mcap file with zstd compression configured via storage config yaml file Signed-off-by: Michael Orlov <[email protected]> * Address build failure on CI related to the missing header from zstd lib - Replace target_link_libraries(mcap PRIVATE zstd::zstd) with ament_target_dependencies(mcap zstd) Signed-off-by: Michael Orlov <[email protected]> Signed-off-by: Chris Lalancette <[email protected]> Signed-off-by: Michael Orlov <[email protected]> Co-authored-by: Michael Orlov <[email protected]>
- Loading branch information
1 parent
295ae9b
commit fcd2564
Showing
5 changed files
with
87 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
rosbag2_storage_mcap/test/rosbag2_storage_mcap/mcap_writer_options_zstd.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
noCRC: false | ||
noChunking: false | ||
noMessageIndex: false | ||
noSummary: false | ||
chunkSize: 786432 | ||
compression: "Zstd" | ||
compressionLevel: "Fast" | ||
forceCompression: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters