State adjustment of redundant robot manipulator based on quadratic programming