Adaptive motion planning for legged robots in unstructured terrain using deep reinforcement learning | Synapse