Self balancing robot

You have two control loops?