필터 지우기
필터 지우기

Vector input in Simscape Revolute Joint

조회 수: 3 (최근 30일)
Venkatesh Sripada
Venkatesh Sripada 2019년 8월 28일
댓글: J Chen 2019년 9월 3일
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

답변 (1개)

J Chen
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
Venkatesh Sripada
Venkatesh Sripada 2019년 8월 29일
편집: Venkatesh Sripada 2019년 8월 29일
Thank you very much for the reply but I use Matlab 2017b. Can you sent it as a previous version file. (File -> export model to -> previous version file)
J Chen
J Chen 2019년 9월 3일
Model in R2017b is attached.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Assembly에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by