DMAP: a Distributed Morphological Attention Policy for learning to locomote with a changing body