Balance

Description

This program demonstrates Self Balancing System.

The idea is that the system has sensor (like gyroscope) which tells its banking angle. Then system changes only velocity of bottom end of the stick. Gravity does the rest.

See Segway and Dynopower for real life products.

SDL library is used for graphics.

Source code & executables

Linux (gcc)
balance.tgz (16k) source

Windows
 

Screenshots

Animated GIF (137k)

markku (dot) t (dot) korsumaki (at) mbnet (dot) fi
Back to home (code::web)

Last modify: