How limit my pendulum model angle from -pi to pi ?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi
I have a pendulum model that i imported from Solidworks to Simulink
I want to limit the output angle to be -pi < theta < +pi
what i need to do ?
tnx! :)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/820700/image.png)
0 comentarios
Respuestas (1)
Thomas Feja
el 17 de Dic. de 2021
If you want to model a pendulum that moves freely in the range -pi < theta < +pi but bounces back at these limits, you can define lower and upper limits within the Revolute Joint block. The limits will then be modelled as spring-damper elements.
This option is also available in other joint blocks.
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!