I send the trajectory to a simulated UAV for testing, but every time I regenerate a new trajectory, the speed and acceleration will start at zero.