This is an attempt at writing an automatic control system for a Segway-like self-balancing two-wheeled electric vehicle robot thing. The IMU is using the Razor AHRS firmware: https://dev.qu.tu-berlin.de/projects/sf-razor-9dof-ahrs