How to compile CrazyFlie client for Windows?

Post here to get support
Post Reply
Rnold
Beginner
Posts: 4
Joined: Sun May 19, 2013 6:52 am

How to compile CrazyFlie client for Windows?

Post by Rnold »

Hi,

I would like to fly my Crazyflie from the client software. Installed Python (2.7.5), Qt (4.10.1), pygame (1.9.1) and pyusb 1.0.2). I pulled the Crazyflie client code from the repository, adjusted the PYTHONPATH so that the <projectfile>\Lib\cfclient is in the path. Start up IDLE and issue:

Code: Select all

import cfclient
cfclient.main()
to test whether it's working. That was a handy way to fix some stupid errors I made. But now I've come across the following error:

Code: Select all

        from ui.main import MainUI
      File "D:\home\arnold\development\python\crazyflie\lib\cfclient\ui\__init__.py", line 36, in <module>
        from cfclient.ui.pluginhelper import PluginHelper
    ImportError: No module named ui.pluginhelper
There is a module pluginhelper.py. I added the ui directory to the PYTHONPATH as well but that did not help. Any ideas what I'm doing wrong?

Thanks in advance

Rnold
Post Reply