- 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?
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 28 Feb. 2023
Kommentiert: Snehal
am 26 Mär. 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?
Akzeptierte Antwort
MathWorks Support Team
am 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 Kommentar
Snehal
am 26 Mär. 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:
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Bag File Logging and Analysis finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!