Included cleaning functionality into the RobotController.