All kinds of singularity avoidance in redundant manipulators for autonomous manipulation