How limit my pendulum model angle from -pi to pi ?

3 vues (au cours des 30 derniers jours)
yovel atia
yovel atia le 2 Déc 2021
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! :)

Réponses (1)

Thomas Feja
Thomas Feja le 17 Déc 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.

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by