Learning-enabled adaptation and planning for space robotics