Model-based predictive control for trajectory tracking of a quadrotor