Controlling inverted pendulum from MATLAB (PID control)

Typically: "How do I... ", "How can I... " questions
Post Reply
altella
Posts: 11
Joined: 04 Jun 2019, 14:01

Controlling inverted pendulum from MATLAB (PID control)

Post by altella » 18 Jun 2019, 17:36

Dear all,

I have been searching in the forum for similar problems, and although I have found related questions, none of them help me to solve my problem.

I have downloaded the scene proposed in : https://www.youtube.com/watch?v=Z-gCr4icl1k, as long as the python code related to the control.

I am trying to control the scene from MATLAB, using the same tunning values from the original code, however, in my case the system starts rotating and becomes uncontrollable.

I am with it for days and days, and cannot find a solution.
Could anyone give some advise?
Thank you very much in advance, I share my code in Matlab and the scene...

https://drive.google.com/file/d/11B41nh ... sp=sharing

Post Reply