In SimMechanics is it possible to change the Actuation input?
1 回表示 (過去 30 日間)
古いコメントを表示
I have a SimMechanics model where one of the inputs is at a Revolute Joint. In some cases I'd like to prescribe the motion at the joint and in others I'd like to prescribe the torque. Since I can't specify both on a joint block, is it possible to change which actuation method is used based on workspace variables, or is there a way to switch from using one Joint block or another based on the workspace?
0 件のコメント
回答 (1 件)
Vineeth Kartha
2016 年 3 月 15 日
Hi
Could you please try adding 'Revolute Joint' with Torque as an input in an 'If Action Subsystem' and Similarly another 'Revolute Joint' with Motion as input in another if action subsystem. The If action subsystems should be enabled based on when you want torque input or motion input. Please try this approach and share your observations.
Regards Vineeth
参考
カテゴリ
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!