publishing ros messeges in real time

1 view (last 30 days)
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.

Answers (1)

Muskan
Muskan on 19 Apr 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

Categories

Find more on Specialized Messages in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!