How to parse rosbags split between multiple DB3 files using ros2bagreader?

9 ビュー (過去 30 日間)
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?

採用された回答

MathWorks Support Team
MathWorks Support Team 2023 年 2 月 28 日
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. Specify each individual DB3 file separately, using the path to each file. 
  2. Combine the segmented BAG files into one large BAG file.
  1 件のコメント
Snehal
Snehal 2025 年 3 月 26 日
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:

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeBag File Logging and Analysis についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by