speed up ROS controller loop rate
显示 更早的评论
I am using a MATLAB 2021a.
I made a sliding mode controller to control a robot in a simulation. I have been following several of the examples mainly the feedback example.
However I would really like to run my controller much faster thjen 0.02s I like to increase this by an order of magnitude. 0.02s is rather slow.
How can I increase the loop speed and make sure its stable?
采纳的回答
更多回答(1 个)
Nathaniel Goldfarb
2021-6-3
0 个投票
3 个评论
Abhijeet Gadkari
2021-6-3
编辑:Abhijeet Gadkari
2021-6-3
Hello Nathaniel,
I don't have definitions of some custom messages (ambf_walker) you are using in this model.
Can you provide those definitions?
Also, there are some MATLAB functions used by the controller that are missing. I see following errors when I get past the custom messages problem.
Undefined function or variable 'forward_kinimatics_leg'.
Function 'Controller/interaction sping-damper/human left' (#197.52.110), line 4, column 1: "[knee, ankle, dknee, danke]
Since your use-case is more complex, you can contact customer support and you can share more details about your project.
-Abhijeet
Nathaniel Goldfarb
2021-6-3
编辑:Nathaniel Goldfarb
2021-6-3
Nathaniel Goldfarb
2021-6-4
类别
在 帮助中心 和 File Exchange 中查找有关 ROS Network Access in Simulink 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


