Researchers developed an algorithm that lets a robot “think ahead” and consider thousands of potential motion plans simultaneously.