Worker robots that can "think" on their feet