-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Store serialized metadata in MCAP file (#1423)
* Store serialized metadata in MCAP file when calling update_metadata() Signed-off-by: Michael Orlov <[email protected]> * Remove ROS_DISTRO key-value from mcap::Metadata - ROS_DISTRO now stored inside serialized metadata Signed-off-by: Michael Orlov <[email protected]> * Fix for test failure on Windows - Use `UnorderedElementsAreArray` for checking `metadata.topics_with_message_count`. - The list of the metadata.topics_with_message_count forming from the mcap_reader_->channels() which is unordered_map. The order of the elements in the unordered_map is unpredictable and can vary on different platforms. Signed-off-by: Michael Orlov <[email protected]> --------- Signed-off-by: Michael Orlov <[email protected]> (cherry picked from commit a029ef9) # Conflicts: # rosbag2_storage_mcap/src/mcap_storage.cpp
- Loading branch information
1 parent
7adc0f9
commit 7ade61d
Showing
2 changed files
with
179 additions
and
5 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