rewrote the robotdriver compleately