The onboard sensing and computing power of a smartphone can be used to control autonomous aerial vehicles