Page 1 of 1

[SOLVED]CF client installation for Ubuntu 14.04

Posted: Mon Feb 08, 2016 2:21 am
by rgalvez
Hi guys, I am using crazyflie ROS driver and I want to install CF client for Ubuntu 14.04 in able to assign different addresses to the quad. To do this I want to install first the dependencies. I did the following steps.
1.Opened a terminal and typed "sudo apt-get install python3 python3-pip python3-pyqt4 python3-zmq python3-pyqtgraph" as instructed here https://github.com/bitcraze/crazyflie-clients-python but there’s an error "Unable to locate package python3-pyqtgraph" so I did not include python3-pyqtgraph in the installation. The installation was successful then I typed " sudo pip3 install pyusb==1.0.0b2 " and it was installed successfully.
2. I want to launch the GUI so I typed "python bin/cfclient" but the error was "python: can't open file 'bin/cfclient': [Errno 2] No such file or directory" What do you think the solution to this error?Thanks in advance!

Re: CF client installation for Ubuntu 14.04

Posted: Mon Feb 08, 2016 6:00 am
by chad
rgalvez wrote:2. I want to launch the GUI so I typed "python bin/cfclient" but the error was "python: can't open file 'bin/cfclient': [Errno 2] No such file or directory" What do you think the solution to this error?Thanks in advance!
You need to be inside the crazyflie-clients-python directory for that command to work. The "bin/cfclient" part of that command refers to the "bin" directory inside crazyflie-clients-python directory. The cfclient script is inside that bin directory.

Where is your crazyflie-clients-pyhon directory? If you installed it like the Bitcraze VM, it's in ~/projects. So, in that case you need to use the following to run it:

Code: Select all

cd ~/projects/crazyflie-clients-python
python bin/cfclient
Make sense?

Re: CF client installation for Ubuntu 14.04

Posted: Mon Feb 08, 2016 4:20 pm
by rgalvez
Thanks chad! I did it.

Re: CF client installation for Ubuntu 14.04

Posted: Mon Feb 08, 2016 4:23 pm
by chad
You're welcome!! Happy to help you get flying. :)

Re: CF client installation for Ubuntu 14.04

Posted: Thu Feb 09, 2017 4:41 am
by binx
chad wrote:You're welcome!! Happy to help you get flying. :)
Hi Chad,

Is CF client compatible with ubuntu 16.04? I've tried all the procedures while it fails to execute cfclient.

Bin

Re: [SOLVED]CF client installation for Ubuntu 14.04

Posted: Thu Feb 09, 2017 9:57 am
by arnaud
Hi bin,

The client is mostly developed on Ubuntu 16.04, so it is compatible :-). What error are you seing?

/Arnaud