Simscape Gear constraint example throws position violation

3 ビュー (過去 30 日間)
Herman Lundberg
Herman Lundberg 2018 年 2 月 23 日
コメント済み: Steve Miller 2018 年 2 月 28 日
Hi, I'm trying to figure out how to add a gear constraint between two joints, so I thought it would be a good idea to start with a tutorial. So I run this command in matlab "smdoc_common_gear_external_start" to get a gear example and when I simulate the model I get this error:
['smdoc_common_gear_external_start']: Following errors were found in the model smdoc_common_gear_external_start. Caused by: ['smdoc_common_gear_external_start']: * Model not assembled: position violation * Resolve this issue in order to simulate the model.
The model has not been changed at all, tools -> model reporter shows that it's the gear constraint that has not been assembled, and all the axes of are aligned. Does anyone know why this happens?
It's from 2017b on windows 7.

採用された回答

Nicolas Schmit
Nicolas Schmit 2018 年 2 月 27 日
As written in the documentation, the model "smdoc_common_gear_external_start" is incomplete. You have to enter the correct parameters in the rigid transform blocks to assemble the mechanism. Check the documentation below on how to complete this model. https://www.mathworks.com/help/physmod/sm/ug/satisfying-gear-assembly-requirements.html
  1 件のコメント
Herman Lundberg
Herman Lundberg 2018 年 2 月 27 日
Thank you! Don't know how I could miss that.

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

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by