Task-based optimization of reconfigurable robot manipulators. (18th August 2017)