Questions about ROS2 pubulsh blocks
4 views (last 30 days)
Show older comments
Xiaochen Gao
on 7 Mar 2022
Answered: Cam Salzberger
on 7 Mar 2022
Hello!
I have a problem when I try to pulish messages in Simulink by using ROS2 Toolbox.
There are no errors in the Diagnostic Viewer and the data are transfrred to the publisher.
But the datas are actually not publushed, if I echo them in the ros2 systems, as it is shown in picture.
Could you help me for this? Thanks!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/917434/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/917439/image.png)
0 Comments
Accepted Answer
Cam Salzberger
on 7 Mar 2022
Hello Xiaochen,
Here are a couple of posts I've made previously to help with diagnosing and fixing communication issues with ROS 2. Please try out the steps outlined in them.
-Cam
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!