Homemade flight controller for a quad copter based on a BeagleBone Black