RMW Implementation questions in MATLAB R2022a

2 次查看(过去 30 天)
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.
-Cam

类别

Help CenterFile Exchange 中查找有关 ROS 2 Network Connection and Exploration 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by