Jerk limited planner for real-time applications requiring variable velocity bounds