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

Auto-detect storage_id for Reader (if possible) #918

Merged
merged 2 commits into from
Nov 25, 2021

Conversation

emersonknapp
Copy link
Collaborator

Part of #831

Most bags have a metadata file associated with them. If that's the case, then it's not strictly necessary to specify the storage format when playing back a bag, it can be determined. This is a quality of life improvement for non-default storage implementations (and for bag conversion input bags, in progress feature)

…rom metadata

Signed-off-by: Emerson Knapp <eknapp@amazon.com>
@emersonknapp emersonknapp force-pushed the emersonknapp/detect-storage-for-play branch from 57595e9 to b831425 Compare November 24, 2021 01:34
Signed-off-by: Emerson Knapp <emerson.b.knapp@gmail.com>
@emersonknapp emersonknapp force-pushed the emersonknapp/detect-storage-for-play branch from 2833253 to cedf12c Compare November 24, 2021 22:20
@emersonknapp emersonknapp marked this pull request as ready for review November 24, 2021 22:21
@emersonknapp emersonknapp requested a review from a team as a code owner November 24, 2021 22:21
@emersonknapp emersonknapp requested review from gbiggs and lihui815 and removed request for a team November 24, 2021 22:21
Copy link
Contributor

@lihui815 lihui815 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@emersonknapp
Copy link
Collaborator Author

emersonknapp commented Nov 24, 2021

Gist: https://gist.githubusercontent.com/emersonknapp/c47c754008db2b39a5030b111ed67492/raw/7d33210aab5d74fdd9bbf7d2ff7e84c013176f7a/ros2.repos
BUILD args: --packages-up-to rosbag2_cpp ros2bag rosbag2_tests rosbag2
TEST args: --packages-select rosbag2_cpp ros2bag rosbag2_tests rosbag2
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/9393

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

@emersonknapp emersonknapp changed the title Allow omitting storage_id for playback - we can try to determine it from metadata Auto-detect storage_id for Reader (if possible) Nov 24, 2021
@emersonknapp emersonknapp merged commit a5e266e into master Nov 25, 2021
@delete-merged-branch delete-merged-branch bot deleted the emersonknapp/detect-storage-for-play branch November 25, 2021 10:35
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