A robotic companion discovers her purpose and accepts it