RMW Implementation questions in MATLAB R2022a
Afficher commentaires plus anciens
Hello, I'm using the r2022a version now, and want to connect matlab and simulink with ros2.
I have already set the rmw_implementation to the same rmw_fastrtps_cpp in both matlab and ros environment, as is shown in picture.
But the matlab cannot receive any topic, when I use ros2 topic list im the matlab, and also the simulink blocks cannot receive any topic.
Do you know why I have this trouble?

This is the topics in the terminal

And this is the topics in the matlab
Réponses (1)
Cam Salzberger
le 21 Mar 2022
Modifié(e) : Cam Salzberger
le 21 Mar 2022
0 votes
Hello Xiaochen,
Here is a similar question I answered with relevant information, and links to other similar questions with additional troubleshooting steps. Please try those steps out and see what works for you.
If you have tried these steps and are still not able to get communication, please detail what you have tried, what works (if anything) and what specific situation does not work.
-Cam
Catégories
En savoir plus sur ROS Network Access in MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!