speed up ROS controller loop rate
Afficher commentaires plus anciens
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?
Réponse acceptée
Plus de réponses (1)
Nathaniel Goldfarb
le 3 Juin 2021
0 votes
3 commentaires
Abhijeet Gadkari
le 3 Juin 2021
Modifié(e) : Abhijeet Gadkari
le 3 Juin 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
le 3 Juin 2021
Modifié(e) : Nathaniel Goldfarb
le 3 Juin 2021
Nathaniel Goldfarb
le 4 Juin 2021
Catégories
En savoir plus sur ROS Network Access in Simulink dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


