gajena / DoubleBallBalancer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DoubleBallBalancer

The double ball balancer is a robotic system consisting of a ball with a movable internal weight, which enables it to balance on top of another (unactuated) ball.

Try out the interactive demo

The interactive demo allows controlling the robot through the keyboard in the pybullet simulation environment.

To run the scripts in the scripts folder, install python3, and then install the requirements:

python3 -m pip install -r requirements.txt

(if there are errors related to missing distributions, try upgrading pip first: python3 -m pip install --user --upgrade pip)

Then, run the interactive demo:

python3 scripts/pybullet_interactive_demo.py

Watch the video

Angle control demo

4 rotations of the upper ball (output of python3 scripts/example_3d.py)

Angle control

Angular velocity control / error correction demo

Upper ball at an angular velocity of 1.5rad/s while correcting an initial lever arm angle of 90 degrees

velocity control with initial deflection

About

License:Apache License 2.0


Languages

Language:Python 99.9%Language:OpenEdge ABL 0.1%