RMW Implementation questions in MATLAB R2022a

조회 수: 2 (최근 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.
-Cam

카테고리

Help CenterFile Exchange에서 ROS Network Access in MATLAB에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by