- 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 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 28 de Feb. de 2023
Comentada: Snehal
el 26 de Mzo. de 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?
Respuesta aceptada
MathWorks Support Team
el 28 de Feb. de 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 comentario
Snehal
el 26 de Mzo. de 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:
Más respuestas (0)
Ver también
Categorías
Más información sobre Bag File Logging and Analysis en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!