ROS2 Simulink Toolbox not subscribing to Python Publisher

조회 수: 2 (최근 30일)
Usama Faisal
Usama Faisal 2022년 6월 19일
답변: Jagadeesh Konakalla 2023년 8월 21일
Hello everyone!
I am working on a project, and for that, I am using ROS2 Foxy on Windows. My aim is to publish commands using a Python Script that I have created on ROS Network, and then, that command will be subscribed by the same topic in Simulink. I am using MATLAB R2022a. So, my publisher is working perfectly, and I am trying to change the linear.x values from geometry_msgs/msg/Twist command in Python. In Simulink, my subscribed block is also set to the same topic and message, but, the value doesn't change, although Python script is publishing that command.
Any leads would be appreciated.
Thank you.
  댓글 수: 1
Jagadeesh Konakalla
Jagadeesh Konakalla 2022년 6월 21일
Hi Usama Faisal,
Based on the description of the issue, i think the issue could be related to middleware. What is the RMW middlware that you are using on ROS2 Foxy on windows ? Can you please share more details about how you installed the Foxy on windows ? Please share the Python script that you are using.
Thanks,
Jagadeesh K,

댓글을 달려면 로그인하십시오.

답변 (1개)

Jagadeesh Konakalla
Jagadeesh Konakalla 2023년 8월 21일
Hi Usama Faisal,
If you are still having the issue, please reach out to us through the Mathworks Technical Support Team.
Thanks,
Jagadeesh K

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by