An autopilot implemented in the BeagleBone PRU