Questions about ROS2 pubulsh blocks

1 view (last 30 days)
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!

Accepted Answer

Cam Salzberger
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

More Answers (0)

Categories

Find more on Publishers and Subscribers in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by