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

1 view (last 30 days)
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! :)

Answers (1)

Thomas Feja
Thomas Feja on 17 Dec 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.

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!