- Specify each individual DB3 file separately, using the path to each file.
- Combine the segmented BAG files into one large BAG file.
How to parse rosbags split between multiple DB3 files using ros2bagreader?
8 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
MathWorks Support Team
il 28 Feb 2023
Commentato: Snehal
il 26 Mar 2025
I am trying to use the "ros2bagreader" function to directly parse rosbags where the messages are split between multiple DB3 files and the initial argument is the directory. How can I open each file?
Risposta accettata
MathWorks Support Team
il 28 Feb 2023
The ability to directly parse a directory with multiple DB3 files is not available as of release R2022b.
However, to work around this, you can either:
1 Commento
Snehal
il 26 Mar 2025
Update:
In MATLAB R2023b and later versions, you can parse multiple DB3 files within a common folder directly by specifying the ‘folderpath’ as a folder. Ensure that you have read and write access to the bag folder that contains the DB3 files.
Refer to the following documentation link for more details:
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Bag File Logging and Analysis in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!