fmincon and forward dynamics

Hey! I have a pendulum with three bars. The first and second joint are controlled via fmincon optimal control. The third one is supposed to be "free". Now I want to add constraints, since the third has to act like a torsion spring (around a certain angle) and must not exceed the angles -pi/4 and pi/2.
How can I fix the constraints for the third bar into the fmincon function without adding a torque to the joint?
Thanks! Best wishes V

Réponses (0)

Question posée :

le 1 Mar 2018

Community Treasure Hunt

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

Start Hunting!

Translated by