Flight control software for a Astro Pi powered quadcopter