Specifically, processing such as speech recognition, distance detection, posture detection, contact, motion detection, and image recognition is performed in accordance with various pieces of input information, and recognition results are obtained (for example, a ball is detected; falling down is detected; the robot 1 is patted; the robot 1 is hit; a C-E-G chord is heard; a moving object is detecte