Codes for running a robot using BeagleBone Black