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!