Simmechanis real time simulation

9 ビュー (過去 30 日間)
mahesh kumara
mahesh kumara 2015 年 1 月 17 日
回答済み: Steve Miller 2022 年 11 月 20 日
Hi, I want to change the joint angle of model, when it is running .
I change the joint angle by using slider gain. I did it using first generation. But I want know how can I do it using second generation. Please help me.
First generation example. https://www.youtube.com/watch?v=qykxMDh-rVk
I want to do it in second generation.
I'm attach my model here. Also you can see the image of block diagram. Please make some time to give the answer. Thank you. Mahesh
  1 件のコメント
ibrahim Kesici
ibrahim Kesici 2017 年 3 月 20 日
Mr. Mahesh, I have same problem. Did you find any solution?

サインインしてコメントする。

回答 (1 件)

Steve Miller
Steve Miller 2022 年 11 月 20 日
Your model actually works just fine! The one setting you were missing was to enable the simulation pacer, which will slow down the simulation so it runs close to real time. By the time you moved the slider, hundreds or thousands of seconds had passed in the simulation, but the animation was set to "real time", so you would have had to wait a while to see the effect of the slider.
See this documentation page: Simulation Pacing
--Steve

カテゴリ

Help Center および File ExchangeApplications についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by