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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1040000/image.png)
Is there a way to have those message in matlab ?
Thanks in advance for any answer.
댓글 수: 0
답변 (1개)
Jagadeesh Konakalla
2022년 6월 21일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Custom Message Support에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!