User Tools

Site Tools


projects:crazyflie:pc_utils:install

This is an old revision of the document!


Crazyflie PC client installation

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 Raspberry Pi hack to run the client headless (without the GUI and monitor).

Installing on windows

Download and run the installer from the binaries download page. A link called “Crazyflie client” will be created in the start menus.

To install the Crazyradio dongle follow the instruction Install crazyradio driver on Windows 7. The procedure is similar for windows XP. For 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 binary download page.

To run the client after downloading it without installation, run the cfclient in the bin folder, e.g.:

cd <cfclient folder>
python2 bin/cfclient

You might want to flash the latest firmware version. Instructions on how to install the software for development, etc. can be found in the 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.

cd crazyflie-pc-client
sudo sh setup.sh

The client can then be run from any location using

cfclient

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/11.10/12.04):

sudo apt-get install python2.7 python-usb python-pygame python-qt4

This will install the dependencies in OpenSUSE (tested for 11.3):

sudo zypper install python-pygame libusb python-usb

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)