Text this: A 6-DOF robot-time optimal trajectory planning based on an improved genetic algorithm