Flight control software for qudrocopter