-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add "--sort" CLI option to the "ros2 bag info" command (#1804)
* sort info output by topic name Signed-off-by: Soenke Prophet <[email protected]> * add missing imports Signed-off-by: Soenke Prophet <[email protected]> * add sorting to service topics and remove sorting option by serialization format Signed-off-by: Soenke Prophet <[email protected]> * add CLI option for sorting output and move sorting methods to enum Signed-off-by: Soenke Prophet <[email protected]> * add sorting by name to topic only option of info output Signed-off-by: Soenke Prophet <[email protected]> * move InfoSortingMethod and generate sorted idx functions to seprate files; move ServiceInformation and ServiceMetadata struct to storage package for clear include structure Signed-off-by: Soenke Prophet <[email protected]> * move ServiceInformation struct to its own header file and rename to ServiceEventInformation; replace if-else by switch-case for differantiating between sorting methods; bugfix sorting method from string resolution and service info verbose not being sorted Signed-off-by: Soenke Prophet <[email protected]> * add test-cases for sorted info output Signed-off-by: Soenke Prophet <[email protected]> * Fix linker issues - Add missing const qualifier for the generate_sorted_idx(..) version with rosbag2_cpp::rosbag2_service_info_t - Small cleanups Signed-off-by: Michael Orlov <[email protected]> * Regenerate pyi stub files Signed-off-by: Michael Orlov <[email protected]> * Small nitpick for using const reference in the for loop Signed-off-by: Michael Orlov <[email protected]> --------- Signed-off-by: Soenke Prophet <[email protected]> Signed-off-by: Michael Orlov <[email protected]> Co-authored-by: Soenke Prophet <[email protected]> Co-authored-by: Michael Orlov <[email protected]>
- Loading branch information
1 parent
9774138
commit 25304dd
Showing
12 changed files
with
422 additions
and
52 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
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.