Code for the apollo robot.