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

Cannot play multiple compressed files #296

Closed
dabonnie opened this issue Feb 14, 2020 · 2 comments · Fixed by #294
Closed

Cannot play multiple compressed files #296

dabonnie opened this issue Feb 14, 2020 · 2 comments · Fixed by #294
Labels
bug Something isn't working

Comments

@dabonnie
Copy link
Contributor

dabonnie commented Feb 14, 2020

Description

When attempting to play back rosbag2 compressed data, with multiple files, the playback terminates with an error.

Expected Behavior

Multiple compressed bag files should be able to be played back.

Actual Behavior

After recording rosbag data with the command

ros2 bag record -a -b 134217728 --compression-mode file --compression-format zstd

and attempting to play back the resulting files (more than 1) with the command

ros2 bag play <my_bag_directory>

it appears the first bag file is decompressed and played, but when attempting to decompress the ensuing file the following error is printed to the console:

ERROR] [1581565911.633620497] [rosbag2_transport]: Failed to play: Bagfile is not opened 

To Reproduce

  1. Record compressed data which results in multiple bag files
  2. Attempt to play the recorded data
  3. Console / log print error results in error [rosbag2_transport]: Failed to play: Bagfile is not opened

System (please complete the following information)

  • OS: ubuntu 18.04
  • ROS 2 Distro: master, building from source
@dabonnie dabonnie added the bug Something isn't working label Feb 14, 2020
@dabonnie
Copy link
Contributor Author

This is a potential fix: #294

@emersonknapp
Copy link
Collaborator

Thanks for reporting this as an issue - makes it easier to track

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants