- 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?
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 28 Fév 2023
Commenté : Snehal
le 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?
Réponse acceptée
MathWorks Support Team
le 28 Fév 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 commentaire
Snehal
le 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:
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Bag File Logging and Analysis dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!