User Tools

Site Tools


projects:crazyflie:pc_utils:install

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
projects:crazyflie:pc_utils:install [2013-04-28 19:32]
arnaud [Running source code on Windows]
projects:crazyflie:pc_utils:install [2015-09-10 11:00] (current)
macke
Line 1: Line 1:
-====== Crazyflie PC client installation ====== +In the interest of not duplicating instructions all the install instructions have been moved to [[https://github.com/bitcraze/crazyflie-clients-python/blob/develop/README.md README on GitHub]].
- +
-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, on linux the client can easily be run from source code. +
- +
-===== Installing on windows ===== +
- +
-Download and run the installer from the [[projects:crazyflie:binaries:index|binaries download page]]. A link called "Crazyflie client" will be created in the start menus. +
- +
-To install the Crazyradio dongle follow the instruction [[projects:crazyradio:install_win7|Install crazyradio driver on Windows 7]]. This procedure is similar for windows XP to 8. +
- +
-===== 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. Note that this will pull in a lot of dependencies. +
-<code> +
-sudo yum install pygame pyusb PyQt4 +
-</code> +
-==== Ubuntu ==== +
-The following has been tested on Ubuntu 10.04/11.10/12.04. Note that this will pull in a lot of dependencies +
-<code> +
-sudo apt-get install python2.7 python-usb python-pygame python-qt4 +
-</code> +
- +
-==== 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. +
-<code> +
-sudo groupadd plugdev +
-sudo usermod -a -G plugdev <username> +
-</code> +
- +
-Create a file named /etc/udev/rules.d/99-crazyradio.rules and add the following: +
-<code> +
-SUBSYSTEM=="usb", ATTRS{idVendor}=="1915", ATTRS{idProduct}=="7777", MODE="0664", GROUP="plugdev" +
-</code> +
- +
-Restart the computer and you are now able to access the USB radio dongle without being root. +
-===== 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 the client above. +
-==== Windows XP ==== +
-The following has to be downloaded/installed for the PC utilities to work: +
-  * [[http://www.python.org/download/releases/ | Python 2.7]] (for Windows the last available binary version of Python 2.7 is [[http://www.python.org/ftp/python/2.7.3/python-2.7.3.msi|Python 2.7.3]]) +
-  * [[http://pygame.org/download.shtml | pyGame]] for reading the input devices +
-  * [[http://sourceforge.net/projects/pyusb/files/latest/download | PyUSB 1.X]] for communicating with the Crazyradio +
-  * [[http://sourceforge.net/projects/libusb-win32/files/latest/download | libusb]] needed as backend for PyUSB +
- +
-For the graphical userinterface to work the following is also needed: +
-  * [[http://www.riverbankcomputing.co.uk/software/pyqt/download | PyQt4]] bindings for QT4 +
- +
-==== Windows Vista/7 32/64-bit==== +
-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/installed for the PC utilities to work: +
-  * [[http://www.python.org/download/releases| Python 2.7]] (for Windows the last available binary version of Python 2.7 is [[http://www.python.org/ftp/python/2.7.3/python-2.7.3.msi|Python 2.7.3]]+
-  * [[http://pygame.org/download.shtml | pyGame]] for reading the input devices +
-  * [[http://sourceforge.net/projects/pyusb/files/latest/download | PyUSB 1.X]] for communicating with the Crazyradio +
-  * [[http://sourceforge.net/projects/libusb-win32/files/latest/download | libusb]] needed as backend for PyUSB +
- +
-For the graphical userinterface to work the following is also needed: +
-  * [[http://www.riverbankcomputing.co.uk/software/pyqt/download | PyQt4]] bindings for QT4 +
- +
-===== Installing on Mac OSX ===== +
-**TODO** +
- +
projects/crazyflie/pc_utils/install.1367170341.txt.gz · Last modified: 2015-07-15 16:30 (external edit)