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
Last revision Both sides next revision
projects:crazyflie:pc_utils:install [2013-10-17 19:42]
daniel
projects:crazyflie:pc_utils:install [2015-09-10 10:56]
macke
Line 1: Line 1:
-====== Crazyflie PC client installation ======+====== Installing on Windows ====== 
 +Follow these steps to install the binary distribution on Windows 7/8/10. 
 +  * Download the latest release [[https://github.com/bitcraze/crazyflie-clients-python/releases|here]] (named //cfclient-win32-install-*.exe//
 +  * Execute the installer. After the install the application will be added to the Start menu. 
 +  * Install the Crazyradio drivers by following [[doc:crazyradio:install_windows_zadig|these instructions]]
  
-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)]]. +====== All other OSes ====== 
-===== Installing on windows ===== +In the interest of not duplicating instructions this page only holds instructions for installing the binary distribution of the Crazyflie Python client on Windows. For running from source on Windows or from Linux and Mac OSX please see the [[https://github.com/bitcraze/crazyflie-clients-python/blob/develop/README.md | README on GitHub]] for instructions.
- +
-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.+
-  * 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.txt · Last modified: 2015-09-10 11:00 by macke