Robust control for multi-legged elongate robots in noisy environments