Azzera filtri
Azzera filtri

publishing ros messeges in real time

4 visualizzazioni (ultimi 30 giorni)
Ahmed Nader Mohammed Khair Ahmed
Risposto: Muskan il 19 Apr 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.

Risposte (1)

Muskan il 19 Apr 2023
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:


Scopri di più su Publishers and Subscribers in Help Center e File Exchange




Community Treasure Hunt

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

Start Hunting!

Translated by