Text this: Collision free control of variable length hyper redundant robot manipulator