Cosserat-Rod Based Dynamic Modeling of Soft Slender Robot Interacting with Environment