speed up ROS controller loop rate
Show older comments
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?
Accepted Answer
More Answers (1)
Nathaniel Goldfarb
on 3 Jun 2021
0 votes
3 Comments
Abhijeet Gadkari
on 3 Jun 2021
Edited: Abhijeet Gadkari
on 3 Jun 2021
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
on 3 Jun 2021
Edited: Nathaniel Goldfarb
on 3 Jun 2021
Nathaniel Goldfarb
on 4 Jun 2021
Categories
Find more on ROS Network Access in Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

