Why does the Simulink Time not match ROS time in co-simulation?
Show older comments
I need a way to match Simulink time to ROS time for my co-simulation. The joystick commands I send via Simulink match ROS time in real-time exactly, but the Simulink clock time is of course important for all kinds of timing in the model. I don’t think the model is too large or complex to be slowing everything down since when I run it using a Simulink plant model, everything is super fast. Now I wish to simulate a few things that need precise time matching.
Could you please help me to figure out why the ROS model is slow? And perhaps how to solve this issue?
Accepted Answer
More Answers (0)
Categories
Find more on ROS 2 Network Access in Simulink in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!