Skip to content
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

Deduplicate SequentialCompressionReader business logic, add fallback to find bagfiles in incorrectly-written metadata #612

Merged

Conversation

emersonknapp
Copy link
Collaborator

Part of #557

This PR allows rosbag2 to correctly read the incorrect V4 metadata files being currently written by compressed bags. It removes most of the business logic from the SequentialCompressionReader in preparation for removing the class entirely.

@emersonknapp emersonknapp requested review from mjeronimo and a team as code owners January 23, 2021 00:57
@emersonknapp emersonknapp requested review from thomas-moulard and jikawa-az and removed request for a team January 23, 2021 00:57
…to find bagfiles in incorrectly-written metadata

Signed-off-by: Emerson Knapp <eknapp@amazon.com>
@emersonknapp emersonknapp force-pushed the emersonknapp/compression-reader-relative-path-fallback branch from fbe3585 to a68a5a2 Compare January 23, 2021 18:18
@emersonknapp emersonknapp requested review from Karsten1987, zmichaels11 and piraka9011 and removed request for thomas-moulard January 23, 2021 18:19
…open, so as not to affect all the existing rosbag2_cpp tests

Signed-off-by: Emerson Knapp <eknapp@amazon.com>
@emersonknapp emersonknapp force-pushed the emersonknapp/compression-reader-relative-path-fallback branch from a68a5a2 to f38f491 Compare January 23, 2021 18:26
Signed-off-by: Emerson Knapp <eknapp@amazon.com>
@emersonknapp emersonknapp force-pushed the emersonknapp/compression-reader-relative-path-fallback branch from 56a86e9 to 06142a7 Compare January 25, 2021 18:53
@emersonknapp emersonknapp changed the title Deduplicate sequentialcompressionreader business logic, add fallback to find bagfiles in incorrectly-written metadata Deduplicate SequentialCompressionReader business logic, add fallback to find bagfiles in incorrectly-written metadata Jan 25, 2021
Signed-off-by: Emerson Knapp <eknapp@amazon.com>
@emersonknapp
Copy link
Collaborator Author

Gist: https://gist.githubusercontent.com/emersonknapp/480e43e106e4757f36754ecab42a4237/raw/86acb05e94b0c1026e7ea09f43dfd6ce12fa56c0/ros2.repos
BUILD args: --packages-up-to rosbag2_cpp rosbag2_compression rosbag2_tests
TEST args: --packages-select rosbag2_cpp rosbag2_compression rosbag2_tests
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/7509

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@emersonknapp emersonknapp merged commit 8060d88 into master Jan 25, 2021
emersonknapp added a commit that referenced this pull request Jan 27, 2021
…to find bagfiles in incorrectly-written metadata (#612)

* Deduplicate sequentialcompressionreader business logic, add fallback to find bagfiles in incorrectly-written metadata

Signed-off-by: Emerson Knapp <eknapp@amazon.com>
emersonknapp added a commit that referenced this pull request Feb 2, 2021
…to find bagfiles in incorrectly-written metadata (#612)

* Deduplicate sequentialcompressionreader business logic, add fallback to find bagfiles in incorrectly-written metadata

Signed-off-by: Emerson Knapp <eknapp@amazon.com>
@emersonknapp emersonknapp deleted the emersonknapp/compression-reader-relative-path-fallback branch February 4, 2021 22:44
emersonknapp added a commit that referenced this pull request Feb 17, 2021
…to find bagfiles in incorrectly-written metadata (#612)

* Deduplicate sequentialcompressionreader business logic, add fallback to find bagfiles in incorrectly-written metadata

Signed-off-by: Emerson Knapp <eknapp@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants