TF2 message not in ros2 message list

13 views (last 30 days)
Mégane Millan
Mégane Millan on 21 Jun 2022
Commented: 星 曹 on 18 Aug 2022
I've created ros2 bag that is composed of TF topic that publish tf2_msgs/TFMessage. However I get the following error, when loading the bag
Is there a way to have those message in matlab ?
Thanks in advance for any answer.

Answers (1)

Jagadeesh Konakalla
Jagadeesh Konakalla on 21 Jun 2022
Hi Megane,
You need to download the tf2_msgs from the web. Then run ros2genmsg on the downloaded message package before you read the messages from ros2bag.
Let me know if you run into any issue.
Jagadeesh K.
星 曹
星 曹 on 18 Aug 2022
download link here:

Sign in to comment.




Community Treasure Hunt

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

Start Hunting!