Robot arm PD controller code

Hello,
I'm learning about PD controllers for robotic arms in joint space. So far I have written a script with the paths for one axe (q,q´,q´´). This is the image for my loop which I want to code:
Its my first time using matlab to write a loop, so I have no idea where to begin. I have some conditions to fill:
-Loop update rate is 4 ms
-Robot dynamics block updadte rate is 20 ms.
Please, I need a hint to begin with this.

类别

帮助中心File Exchange 中查找有关 Robotics 的更多信息

产品

版本

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by