Task and Configuration Space Compliance of Continuum Robots via Lie Group and Modal Shape Formulations