Constraints for double pendulum in SimScape
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello,
I have a problem that a double pendulum represents quite well. I want to have constraints such that the angle (relative to the frame) of the first body is a function of the angle of the second body (relative to the first body). That would mean if I rotated the second body by applying a torque the first body would rotate by this user defined constraint. Is there a possibility to define such constraint ? Thank you for the answers.
2 Kommentare
Lorenzo
am 19 Mai 2023
Hello Ondrej,
Not quite sure if this is what you need but you can "actuate" a revolute joint (which would be the joint used in your double pendulum example), by giving it an input-angle (the resulting torque will be computed automatically).
In turn the angle might be measured from another joint by using the "Sensing" field.
Does this answer your question?
Best,
Lorenzo
Antworten (0)
Siehe auch
Kategorien
Mehr zu Assembly finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!