Added debug messages to robot class