HIGHER-ORDER ROBOT PERCEPTION LOOP