Changeable angle while rotating in SimMechanics Second Generation
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
There is a problem while simulating my mechanism in Simulink - while turning a blue wheel with a yellow connection on it,a purple detail doesn't turning around axis (a purple dot on screen). I think,that the problem is in constant value of angle "а" (green lines on screen). "Distance constraint" here is a distance between world frame and purple detail frame. When i trying to add another Distance or Angle constraint, the mechanism stops moving. How can i solve this problem?


0 commentaires
Réponses (1)
Sebastian Castro
le 4 Nov 2015
Looking at the video, it seems like the yellow and light blue bodies are essentially rigidly connected together at some fixed angle. Am I right?
If so, you could use either an Angle Constraint or a Rigid Transform block to hard-code that angle between the yellow and purple bodies. Shouldn't matter.
To allow the light blue body to move freely and honor that constraint, I would suggest using a Planar Joint between the World Frame and the purple element. The Planar Joint allows translation in X and Y, as well as rotation in Z. This matches exactly with your world coordinates, it seems.
- Sebastian
0 commentaires
Voir également
Catégories
En savoir plus sur Assembly dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!