This is a close up from the previous screen. It shows the raw wheel position of one axle (blue) and the Kalman filtered positon (red) and speed (green) curves.
The robot maintains its balance using a simple linear controller with angular speed, angle and ball speed as inputs. For staying in position, the ball position is used as well. Tuning of the controller was done manually (and took many hours of trial and error).