Robot Code with the controller