RMW Implementation questions in MATLAB R2022a

1 回表示 (過去 30 日間)
Xiaochen Gao
Xiaochen Gao 2022 年 3 月 21 日
編集済み: Cam Salzberger 2022 年 3 月 21 日
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

回答 (1 件)

Cam Salzberger
Cam Salzberger 2022 年 3 月 21 日
編集済み: Cam Salzberger 2022 年 3 月 21 日
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.


Help Center および File ExchangeROS 2 Network Connection and Exploration についてさらに検索




Community Treasure Hunt

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

Start Hunting!

Translated by