To control the revolute joint motion in real time
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a problem to simulate a simple pendulum which modeled in simscape multibody. the mass is attached to rigid using a rope element in vertically. And another rope which is in horizontal direction which lock the mass from initial position to a height for the oscillation. I would like to release the rope as in real time using a keyboard command. So how to control the rope motion when we required? For example i attached a revolute joint in the rope , initially the joint is rigid all dof is zero. While running the simulation if we can release the joint it will release the rope also.
0 Kommentare
Antworten (1)
Steve Miller
am 12 Mär. 2023
You can use Simulink dashboard blocks to control parameters within the simulation. This would allow you to specify position, speed, velocity, force, or torque to any of the degrees of freedom that can be controlled by a Simulink signal.
You would need to configure your joints to accept either motion input or force/torque input. That can be done in the "Actuation" portion of the joint blocks in your Simscape Multibody model.
If you choose to provide inputs to your model in this way, you should enable simulation pacing in your model. That way, the inputs you provide manually will be synchronized with what you are seeing in the animation.
--Steve
0 Kommentare
Siehe auch
Kategorien
Mehr zu Multibody Dynamics 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!