Flying Like a Pilot in Wind: Smooth Trajectory Optimization in a Moving Reference Frame - The Robotics Institute Carnegie Mellon University