Teaching robots to walk on the moon, and maybe rescue one another