This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
projects:crazyflie:pc_utils:install [2013-05-06 01:48] skube [Installing on Mac OSX] |
projects:crazyflie:pc_utils:install [2015-09-10 11:00] (current) macke |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Crazyflie PC client installation ====== | + | In the interest |
| - | + | ||
| - | The Crazyflie PC utilities are developed using Python 2.7. The Crazyflie library is used from the command line tools as well as a graphical user interface. On Windows an installer permits to run the client without having to install any dependencies, | + | |
| - | + | ||
| - | ===== Installing on windows ===== | + | |
| - | + | ||
| - | Download and run the installer from the [[projects: | + | |
| - | + | ||
| - | To install the Crazyradio dongle follow the instruction [[projects: | + | |
| - | + | ||
| - | ===== Installing on Linux ===== | + | |
| - | The following has to be installed for the PC utilities to work: | + | |
| - | * Python 2.7 | + | |
| - | * pyGame | + | |
| - | * PyUSB (0.X or 1.X) | + | |
| - | * libusb | + | |
| - | + | ||
| - | For the graphical userinterface to work the following is also needed: | + | |
| - | * Python bindings for Qt4 | + | |
| - | + | ||
| - | ==== Fedora ==== | + | |
| - | The following has been tested on Fedora 16 to 18. Note that this will pull in a lot of dependencies. | + | |
| - | < | + | |
| - | sudo yum install pygame pyusb PyQt4 | + | |
| - | </ | + | |
| - | ==== Ubuntu ==== | + | |
| - | The following has been tested on Ubuntu 10.04/ | + | |
| - | < | + | |
| - | sudo apt-get install python2.7 python-usb python-pygame python-qt4 | + | |
| - | </ | + | |
| - | + | ||
| - | ==== Fix udev premissions on Linux ==== | + | |
| - | In order to fix the permissions so it's possible to use the USB Radio without being root do the following steps. | + | |
| - | < | + | |
| - | sudo groupadd plugdev | + | |
| - | sudo usermod -a -G plugdev < | + | |
| - | </ | + | |
| - | + | ||
| - | Create a file named / | + | |
| - | < | + | |
| - | SUBSYSTEM==" | + | |
| - | </ | + | |
| - | + | ||
| - | Restart the computer and you are now able to access the USB radio dongle without being root. | + | |
| - | + | ||
| - | ==== Running the client ==== | + | |
| - | + | ||
| - | Decompress the source code in a folder, open a console and type: | + | |
| - | < | + | |
| - | cd < | + | |
| - | python2 bin/ | + | |
| - | </ | + | |
| - | + | ||
| - | ===== Running source code on Windows ===== | + | |
| - | + | ||
| - | This procedure is required if you want to develop with the Crazyflie client on Windows. If you just want to run and fly the Carzyflie follow the instruction to install | + | |
| - | ==== Windows XP ==== | + | |
| - | The following has to be downloaded/ | + | |
| - | * [[http:// | + | |
| - | * [[http:// | + | |
| - | * [[http:// | + | |
| - | * [[http:// | + | |
| - | + | ||
| - | For the graphical userinterface to work the following is also needed: | + | |
| - | * [[http:// | + | |
| - | + | ||
| - | ==== Windows Vista/7 32/ | + | |
| - | Even if you have a 64-bit install you should download the 32-bit versions of the libraries since this makes everything easier. | + | |
| - | + | ||
| - | The following has to be downloaded/ | + | |
| - | * [[http:// | + | |
| - | * [[http:// | + | |
| - | * [[http:// | + | |
| - | * [[http:// | + | |
| - | + | ||
| - | For the graphical userinterface to work the following is also needed: | + | |
| - | * [[http:// | + | |
| - | + | ||
| - | ===== Installing on Mac OSX ===== | + | |
| - | + | ||
| - | Caveat: I don't know what I'm doing so this may or may not be correct information, | + | |
| - | + | ||
| - | NOTE: For each of the following, make sure you grab the correct files for your specific version of OSX (i.e. Lion vs Mountain Lion) | + | |
| - | + | ||
| - | + | ||
| - | - Open Terminal and see if Python is installed* (though it might be Apple modified), otherwise install [[http:// | + | |
| - | - Install [[http:// | + | |
| - | * type the following in the Terminal: | + | |
| - | * < | + | |
| - | | + | |
| - | * type in the Terminal: < | + | |
| - | *(type < | + | |
| - | | + | |
| - | - Install [[http:// | + | |
| - | - (alternatively, | + | |
| - | - Install [[http:// | + | |
| - | - (though this is how far I got before getting stuck) | + | |
| - | - Download CrazyFlie Client | + | |
| - | * start client by typing in Terminal: | + | |
| - | * < | + | |