Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inverted Pendulum Actuated by Tendons #2950

Merged
merged 4 commits into from
Aug 7, 2020

Conversation

DarioUrbina
Copy link
Contributor

This is an example of PID control of an inverted pendulum actuated by strings. The pendulum axis is located on a cart that can only move pulled by two strings attached to it.

To create the bodies of this simulation, Issue #2922 was solved. You will see how I use a chain of bodies connected in a "loop" fashion.

When you run inverted_pendulum_tendon_actuation.py you will see how first the pendulum stabilizes, then it will move towards the white base. You can hit the pendulum close to its tip to change the displacement direction of the cart. If you hit harder it will try to stabilize.

As any PID system, depending on the gains, it will be more or less stable.

@erwincoumans
Copy link
Member

Thanks for the PR, that looks like an interesting example. Some change in constraint.py slipped in the PR, we can remove it, right?

@erwincoumans erwincoumans merged commit d1505e1 into bulletphysics:master Aug 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants