Error using ros2bag

7 ビュー (過去 30 日間)
Niklas Dörr
Niklas Dörr 2021 年 4 月 20 日
回答済み: Niklas Dörr 2021 年 4 月 20 日
As I try to read a database i created using ros2 bag in my linux vm using the point msg type. I always get this error:
'C:\code\TestRos2Bag\rosbag2_2021_04_20-06_32_06\rosbag2_2021_04_20-06_32_06.db3'.
Ensure that MATLAB has read/write permissions for the folder, the YAML file is
correctly formatted, and the bag file is not corrupted.
I checked all the file attributes and I have every permission needed. And the YAML file is also correct.The bag could be corrupted as it sais but i dont think so because i tried so many different bags and this one was even created by using a matlab publisher with a point msg and the recording it in the linux vm.

回答 (1 件)

Niklas Dörr
Niklas Dörr 2021 年 4 月 20 日
You have to use ros dashing to create the ros bag. For me it didnt work because i used eloquent probably because it is to old.

カテゴリ

Help Center および File ExchangeROS Network Access in Simulink についてさらに検索

タグ

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by