Slow getting ROS2 messages in simulink in real time
古いコメントを表示
Dear,
I want to get the value of an external sensor in real time via ROS2. However, in practice, even when the rate is set to 100 Hz, the values are updated only about once every 3 seconds.
Is this difficult when using custom messages?
I also tried using "Simulink Desktop Real-Time" but it did not make much difference.

6 件のコメント
Jagadeesh Konakalla
2023 年 3 月 6 日
Hi,
Which version of MATLAB that you are using ?
Please share the simulink model and custom messages that you are using. Also let me know how you are publishing and mesuring the frequency of messages ?
Thanks,
Jagadeesh K
健
2023 年 3 月 7 日
健
2023 年 3 月 7 日
Jagadeesh Konakalla
2023 年 3 月 7 日
I would like to take a look at the Simulink Model settings like Sample Time of the model, QoS Settings of pub/sub blocks. So, please send us the simulink model and custom messages to further debug this issue.
I recommend you to contact us through the MATLAB support for further guidance.
健
2023 年 3 月 7 日
Nupur
2024 年 6 月 25 日
移動済み: Angelo Yeo
2024 年 11 月 1 日
@健 Could you explain how you used 'Simulink Deaktop Real-Time' with ROS2?
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Publishers and Subscribers についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



