publishing ros messeges in real time

1 次查看(过去 30 天)
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.

回答(1 个)

Muskan
Muskan 2023-4-19
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

类别

Help CenterFile Exchange 中查找有关 Specialized Messages 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by