URGENT - need help

@ardly, i wonder when they are moving around how much of that is programmed movement and how much of it is reactionary...

Not the balance stuff but going straight, turning, ect, how are they deciding where it goes...