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-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 |
- | + | ||
- | 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 | + | |
- | ===== Installing on windows ===== | + | |
- | + | ||
- | Download and run the installer from the [[projects: | + | |
- | + | ||
- | To install the Crazyradio dongle follow the instruction [[projects: | + | |
- | + | ||
- | ===== Installing on Linux ===== | + | |
- | The firmware and PC client can be downloaded as binaries from the | + | |
- | + | ||
- | To run the client after downloading it without installation, | + | |
- | < | + | |
- | cd < | + | |
- | python2 bin/cfclient | + | |
- | </code> | + | |
- | + | ||
- | You might want to [[projects: | + | |
- | + | ||
- | ==== Automatic system-wide install using setup.sh ==== | + | |
- | By running the '' | + | |
- | + | ||
- | < | + | |
- | cd crazyflie-pc-client | + | |
- | sudo sh setup.sh | + | |
- | </code> | + | |
- | + | ||
- | The client can then be run from any location using | + | |
- | < | + | |
- | 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). | + | |
- | < | + | |
- | sudo yum install pygame pyusb PyQt4 | + | |
- | </ | + | |
- | + | ||
- | Or to install them on Ubuntu (tested for 10.04/ | + | |
- | < | + | |
- | sudo apt-get install python2.7 python-usb python-pygame python-qt4 | + | |
- | </code> | + | |
- | + | ||
- | This will install the dependencies in OpenSUSE (tested for 11.3): | + | |
- | < | + | |
- | 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 | + |