Trajectory Planning in Robotics