Changeable angle while rotating in SimMechanics Second Generation
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Sebastian Castro
el 4 de Nov. de 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 comentarios
Ver también
Categorías
Más información sobre Assembly en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!