Borrar filtros
Borrar filtros

Slow getting ROS2 messages in simulink in real time

14 visualizaciones (últimos 30 días)
健
el 6 de Mzo. de 2023
Respondida: Nupur el 25 de Jun. de 2024 a las 12:46
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.
  5 comentarios
Jagadeesh Konakalla
Jagadeesh Konakalla el 7 de Mzo. de 2023
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.
健
el 7 de Mzo. de 2023
sub(input sensor) settings.
QoS was the same for the others.

Iniciar sesión para comentar.

Respuestas (1)

Nupur
Nupur el 25 de Jun. de 2024 a las 12:46
@健 Could you explain how you used 'Simulink Deaktop Real-Time' with ROS2?

Categorías

Más información sobre LEGO MINDSTORMS EV3 Hardware en Help Center y File Exchange.

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by