Trajectory generation via FIR filters: A procedure for time-optimization under kinematic and frequency constraints