Design and synthesis of a hierarchical hybrid controller for quadrotor navigation