Slow getting ROS2 messages in simulink in real time

7 visualizzazioni (ultimi 30 giorni)
健
il 6 Mar 2023
Spostato: Angelo Yeo il 1 Nov 2024
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 Commenti
健
il 7 Mar 2023
sub(input sensor) settings.
QoS was the same for the others.
Nupur
Nupur il 25 Giu 2024
Spostato: Angelo Yeo il 1 Nov 2024
@健 Could you explain how you used 'Simulink Deaktop Real-Time' with ROS2?

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Specialized Messages in Help Center e File Exchange

Prodotti


Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by