big balancing robot

By the way how would I do one motor for direction and another for balance? Sounds like a good idea, but can't see how that would work.