Here is how the Rovers sent to Mars are driven by Nasa engineers. There are two ways they use to drive the robots. Both methods involve sending commands which are executed differently. Below is a brief description of how it's done.
http://www.youtube.com/v/_hN4XdS7NMY