Removed old, unused code from robot.py