Analysis and control for a bioinspired multi-legged soft robot