Why is my ROS node running slower than expected when deployed?
显示 更早的评论
I am generating a ROS node from a Simulink model and deploying to an embedded computer. My model includes ROS Publisher/Subscriber blocks within an enabled subsystem, so that my algorithm only runs when a message is received. When I set the sample time in Solver Parameters to 200 Hz, and then inherit this sample time in my Subscriber block, I can only achieve performance of 30 Hz upon deployment. Why is this the case and how can I improve performance?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 ROS 2 Network Access in Simulink 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!