Vector input in Simscape Revolute Joint
1 回表示 (過去 30 日間)
古いコメントを表示
I am working with the "Revolute Joint" in Simscape multibody. Is it possible to give a vector from workspace as input for Position Target? My end aim is to view the angles in the vector below as a transition over time
vals = [90.0000, 91.4324, 92.7370];
I know that Position Target takes only scalar values but is there a workaround?
--MY SOULTION--
Currently I am giving one element after another from the vector and updating the whole diagram at every step.
Thanks in advance
0 件のコメント
回答 (1 件)
J Chen
2019 年 8 月 29 日
You can specify the motion of the joint: expand the Actuation, set Torque to Automically Computed and Motion to Provided by Input. You probably need a Simulink-PS Converter block and do the following: in the Input Handling tab, set Filtering to Filter input, set Input filtering order to Second-order filtering.
4 件のコメント
参考
カテゴリ
Help Center および File Exchange で Multibody Dynamics についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!