TF2 message not in ros2 message list

8 次查看(过去 30 天)
Hello,
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.

回答(1 个)

Jagadeesh Konakalla
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.
Thanks,
Jagadeesh K.
  4 个评论
星 曹
星 曹 2022-8-18
download link here:https://github.com/ros2/geometry2/tree/ros2
J
J 2024-4-29
编辑:J 2024-4-29
issue when running w python 3.9.18 (matlab 2022b), appearently that is not accepted to fit the requested python 3.9.X version.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Custom Message Support 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by