Cooperative manipulation of highly articulated and continuum surgical robots in confined spaces