Slow getting ROS2 messages in simulink in real time

14 次查看(过去 30 天)
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 个评论
健
2023-3-7
sub(input sensor) settings.
QoS was the same for the others.
Nupur
Nupur 2024-6-25
移动:Angelo Yeo 2024-11-1,11:13
@健 Could you explain how you used 'Simulink Deaktop Real-Time' with ROS2?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 LEGO MINDSTORMS EV3 Hardware 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by