Text this: Trajectory planning of seven-degree-of-freedom redundant manipulator in narrow space