publishing ros messeges in real time

1 visualización (últimos 30 días)
Ahmed Nader Mohammed Khair Ahmed
Ahmed Nader Mohammed Khair Ahmed el 9 de Abr. de 2023
Respondida: Muskan el 19 de Abr. de 2023
i have a simulink model that publishes ros messeges to control a drone model in gazbeo, the problem is the messegs are published at each time step of simulink, however simulink time steps doesnt represent the real time, therefore that rate of publishing the messeges is very slow (as one second of simulation time is close to 10 s in real time in my case), how can i make simulink run in real time so that the rate of publication is high enough.

Respuestas (1)

Muskan
Muskan el 19 de Abr. de 2023
Hi,
As per my understanding of the question, to make your Simulink model run in real time you can use Simulink Coder with the appropriate hardware and software configuration.
You can refer to the following documentation for a better understanding:
Thanks

Categorías

Más información sobre Specialized Messages en Help Center y File Exchange.

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by