Implementation of an Adaptive Controller on a Ball Balancing Robot