Self-collision avoidance for n-link redundant manipulators | Synapse