@@ -0,0 +1,1638 @@
+#!/usr/bin/python%0A%22%22%22%0A@brief Run QuickBot class for Beaglebone Black%0A%0A@author Josip Delic (delijati.net)%0A@author Rowland O'Flaherty (rowlandoflaherty.com)%0A@date 02/07/2014%0A@version: 1.0%0A@copyright: Copyright (C) 2014, see the LICENSE file%0A%22%22%22%0A%0Aimport sys%0Aimport argparse%0A%0A%0ADESCRIPTION = %22%22%0ARTYPES = ('quick_v2', 'quick_v1', 'ultra')%0A%0A%0Adef main(options):%0A    %22%22%22 Main function %22%22%22%0A    print %22Running XBot%22%0A%0A    print 'Running XBot Program'%0A    print '    Base IP: ', options.ip%0A    print '    Robot IP: ', options.rip%0A    print '    Robot Type: ', options.rtype%0A%0A    if options.rtype == 'quick_v2':%0A        import xbots.quickbot_v2%0A        qb = xbots.quickbot_v2.QuickBot(options.ip, options.rip)%0A        qb.run()%0A    elif options.rtype == 'quick_v1':%0A        import xbots.quickbot_v1%0A        qb = xbots.quickbot_v1.QuickBot(options.ip, options.rip)%0A        qb.run()%0A    elif options.rtype == 'ultra':%0A        import xbots.ultrabot%0A        qb = xbots.ultrabot.UltraBot(options.ip, options.rip)%0A        qb.run()%0A%0A%0Aif __name__ == '__main__':%0A    parser = argparse.ArgumentParser(description=DESCRIPTION)%0A    parser.add_argument(%0A        '--ip', '-i',%0A        default='192.168.7.1',%0A        help=%22Computer ip (base ip)%22)%0A    parser.add_argument(%0A        '--rip', '-r',%0A        default='192.168.7.2',%0A        help=%22BBB ip (robot ip)%22)%0A    parser.add_argument(%0A        '--rtype', '-t',%0A        default='quick_v2',%0A        help=%22Type of robot (%25s)%22 %25 '%7C'.join(RTYPES))%0A%0A    options = parser.parse_args()%0A    if options.rtype not in RTYPES:%0A        print %22Chosen type not exists use (%25s)%22 %25 '%7C'.join(RTYPES)%0A        sys.exit(0)%0A    main(options)%0A

this is a description