Common core avionics for unmanned aerial vehicles