ROS Logger doesn't show the topics
이전 댓글 표시
I am working with MATLAB R2024b on a Simulink model. I want to publish some topics using ROS2. I added some topics in different place of the model, one of them is at depth 1 from the main system and the rest are at depth 5-6 from the main system (as shown in the 2 images). When I use ROS Logger to create a ROS bag, it only show the one topic at depth 1. I have chosen "Log Selected Signal" to all of the Topic. I am not sure if subsytem depth is the reason, but I need to create a log file for all topics. There is a same discussion, but no solution is shown there.
Depth 1 topic:

Depth 5 topic:
Can you suggest the solution?
답변 (1개)
Josh Chen
2025년 1월 22일
0 개 추천
Hi Tai,
Messages from nested subsystems should be visible in the ROS Logger App.
I created a dummy model with 6 layers of subsystems, and was able to see all ROS signals from subsystems, no matter they were marked as logging or not.

If this happens on your end, I believe there should be another reason. Can you share a simplified model so we can look closer and identify the culprit?
Thanks,
Josh
댓글 수: 4
Tai Hoang
2025년 1월 22일
Josh Chen
2025년 1월 22일
Hi Tai,
If the model is not confidential, you can share in this thread. Otherwise, you can reach out to our technical support team and they will send you a link to share.
Thanks,
Josh
Tai Hoang
2025년 1월 25일
Josh Chen
2025년 1월 27일
Hello Tai,
This is a general error message when Simulink bus parsing failed during logging process after simulation. I know there are few updates been submitted to address similar issues in the past. So I would suggest to upgrade to the latest version of MATLAB.
If that still not resolving the problem, please attach the model and we can take a look.
Thanks,
Josh
카테고리
도움말 센터 및 File Exchange에서 ROS Network Access in Simulink에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!