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-10-17 19:42]
daniel
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. There is also a [[projects:crazyflie:hacks:rasberrypi|Raspberry Pi hack to run the client headless (without the GUI and monitor)]]. +
-===== 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]]. The procedure is similar for windows XP. For [[[projects:crazyradio:install_win8|Windows 8]] you have to take care about the not signed driver. +
- +
-===== Installing on Linux ===== +
-The firmware and PC client can be downloaded as binaries from the  [[projects:crazyflie:binaries:index|binary download page]].  +
- +
-To run the client after downloading it without installation, run the ''cfclient'' in the ''bin'' folder, e.g.: +
-<code> +
-cd <cfclient folder> +
-python2 bin/cfclient +
-</code> +
- +
-You might want to [[projects:crazyflie:pc_utils:qt_ui#bootloader|flash the latest firmware version]]Instructions on how to install the software for development, etc. can be found in the [[projects:crazyflie:pc_utils:dev_guide|developer guide]]. +
- +
-==== Automatic system-wide install using setup.sh ==== +
-By running the ''setup.sh'' script the client will automatically be installed as root and the udev rules will be added. If you would like to install the client as a normal user please follow the instructions above instead. +
- +
-<code> +
-cd crazyflie-pc-client +
-sudo sh setup.sh +
-</code> +
- +
-The client can then be run from any location using +
-<code> +
-cfclient +
-</code> +
- +
-==== Manual installation ==== +
- +
-=== Install dependencies ===  +
-The following has to be installed for the PC utilities to work: +
-  * Python 2.7 +
-  * pyGame +
-  * PyUSB (0.X or 1.X) +
-  * libusb +
-  * Python bindings for Qt4 +
- +
-The following will install these dependencies on Fedora (tested for 16 to 18). +
-<code> +
-sudo yum install pygame pyusb PyQt4 +
-</code> +
- +
-Or to install them on Ubuntu (tested for 10.04/11.10/12.04): +
-<code> +
-sudo apt-get install python2.7 python-usb python-pygame python-qt4 +
-</code> +
- +
-This will install the dependencies in OpenSUSE (tested for 11.3): +
-<code> +
-sudo zypper install python-pygame libusb python-usb +
-</code> +
- +
-Note that these commands will pull in a lot of dependencies. +
- +
-=== Fix udev permissions (Linux, Debian, Raspbian Wheezy, etc.)=== +
-The following steps make it possible to use the USB Radio with+
projects/crazyflie/pc_utils/install.1382031774.txt.gz · Last modified: 2015-07-15 16:30 (external edit)