-
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.
Use enum values for offered_qos_profiles in code and string names in …
…serialized metadata (#1476) * Make C++ QoS YAML (de)serialization compliant with QoS override file schema Signed-off-by: Patrick Roncagliolo <[email protected]> Signed-off-by: roncapat <[email protected]> * UGLY DRAFT - handle different versions of TopicMetadata Signed-off-by: Patrick Roncagliolo <[email protected]> * Handle unknown cases Signed-off-by: Patrick Roncagliolo <[email protected]> * Uncrustify Signed-off-by: Patrick Roncagliolo <[email protected]> * Fix test Signed-off-by: Patrick Roncagliolo <[email protected]> * Refactor to avoid templates Signed-off-by: Patrick Roncagliolo <[email protected]> * Reduce diff Signed-off-by: Patrick Roncagliolo <[email protected]> * Fix for rosbag2_py Signed-off-by: Patrick Roncagliolo <[email protected]> * Fix missing include (cpplint) Signed-off-by: Patrick Roncagliolo <[email protected]> * WIP: decode everything QoS parsing moved MCAP code already drafted Signed-off-by: Patrick Roncagliolo <[email protected]> * WIP: decode everything Fix MCAP test compilation Signed-off-by: Patrick Roncagliolo <[email protected]> * WIP: decode everything Sqlite3 code Everything builds up to rosbag2_transport (excluded) Signed-off-by: Patrick Roncagliolo <[email protected]> * WIP: decode everything rosbag2_transport partial rework Signed-off-by: Patrick Roncagliolo <[email protected]> * WIP: decode everything rosbag2_transport compiles Signed-off-by: Patrick Roncagliolo <[email protected]> * WIP: decode everything everything compiles Signed-off-by: roncapat <[email protected]> * Uncrustify (warning: still draft code) Signed-off-by: roncapat <[email protected]> * Uncrustify Signed-off-by: roncapat <[email protected]> * Try to export dependency Signed-off-by: roncapat <[email protected]> * Cpplint Signed-off-by: roncapat <[email protected]> * Fix encode bug Signed-off-by: roncapat <[email protected]> * Fix transform bug Signed-off-by: roncapat <[email protected]> * Try to fix runtime error with py constructor Signed-off-by: roncapat <[email protected]> * Fix "test_record" Signed-off-by: Patrick Roncagliolo <[email protected]> * Various fixes Signed-off-by: Patrick Roncagliolo <[email protected]> * Various fixes Signed-off-by: Patrick Roncagliolo <[email protected]> * Various fixes Signed-off-by: Patrick Roncagliolo <[email protected]> * Various fixes Signed-off-by: Patrick Roncagliolo <[email protected]> * Format Signed-off-by: Patrick Roncagliolo <[email protected]> * Format Signed-off-by: Patrick Roncagliolo <[email protected]> * Tentative fixes Signed-off-by: Patrick Roncagliolo <[email protected]> * Fixes Signed-off-by: Patrick Roncagliolo <[email protected]> * MCAP Fixes Signed-off-by: Patrick Roncagliolo <[email protected]> * History QOS Fixes Signed-off-by: Patrick Roncagliolo <[email protected]> * uncrust Signed-off-by: Patrick Roncagliolo <[email protected]> * Remove VScode files Signed-off-by: Patrick Roncagliolo <[email protected]> * PR Diff analysis & reduction Signed-off-by: Patrick Roncagliolo <[email protected]> * Refactor conversion snippets Signed-off-by: Patrick Roncagliolo <[email protected]> * Uncrustify Signed-off-by: Patrick Roncagliolo <[email protected]> * Address some comments Signed-off-by: Patrick Roncagliolo <[email protected]> * Address some comments Signed-off-by: Patrick Roncagliolo <[email protected]> * Address some comments Signed-off-by: Patrick Roncagliolo <[email protected]> * More fixes Signed-off-by: Patrick Roncagliolo <[email protected]> * Fixes for failing tests in the test_qos.cpp - Add Metadata version for encode methods to be able to encode rclcpp::qos to the old format with enum numbers - Fix downcast issue in the rclcpp::qos to Rosbag2QoS converter functions Signed-off-by: Michael Orlov <[email protected]> * Add qos serialization format auto-detection Signed-off-by: Michael Orlov <[email protected]> * Workaround to properly convert offered_qos_profiles in mcap storage - For old versions of the mcap files we were not storing metadata inside mcap files and metadata.version was assigned to the default 9 version. Signed-off-by: Michael Orlov <[email protected]> * Fix clang format Signed-off-by: Patrick Roncagliolo <[email protected]> * Last fixes Signed-off-by: Patrick Roncagliolo <[email protected]> * Fix visibility Signed-off-by: Patrick Roncagliolo <[email protected]> * Uncrust Signed-off-by: Patrick Roncagliolo <[email protected]> * Fix DLL troubles with yaml-cpp Signed-off-by: Patrick Roncagliolo <[email protected]> * Metadata V9 offered_qos_profiles as pure YAML Signed-off-by: Patrick Roncagliolo <[email protected]> --------- Signed-off-by: Patrick Roncagliolo <[email protected]> Signed-off-by: roncapat <[email protected]> Signed-off-by: Michael Orlov <[email protected]> Co-authored-by: Michael Orlov <[email protected]>
- Loading branch information
1 parent
aa8cc02
commit abdc408
Showing
51 changed files
with
970 additions
and
553 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
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 |
---|---|---|
|
@@ -37,7 +37,7 @@ void write_sample_split_bag( | |
topic_name, | ||
"test_msgs/msg/ByteMultiArray", | ||
"cdr", | ||
"", | ||
{}, | ||
"" | ||
}, | ||
{ | ||
|
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
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
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
Oops, something went wrong.