Sorry for any confusion caused. I made a very stupid mistake, and now have the robot working.