Optimal zeroing dynamics with applications to control of serial and parallel manipulators. (1st March 2018)