Dynamic planning of redundant robots within a set-based task-priority inverse kinematics framework