A Closed Loop Shape Control for Bio-inspired Soft Arms