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!
[SOLVED]CF client installation for Ubuntu 14.04
[SOLVED]CF client installation for Ubuntu 14.04
Last edited by rgalvez on Mon Feb 15, 2016 2:04 pm, edited 1 time in total.
Re: CF client installation for Ubuntu 14.04
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.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!
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
Crazyflier - my CF journal...
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
Re: CF client installation for Ubuntu 14.04
Thanks chad! I did it.
Re: CF client installation for Ubuntu 14.04
You're welcome!! Happy to help you get flying.
Crazyflier - my CF journal...
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
Re: CF client installation for Ubuntu 14.04
Hi Chad,chad wrote:You're welcome!! Happy to help you get flying.
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
Hi bin,
The client is mostly developed on Ubuntu 16.04, so it is compatible . What error are you seing?
/Arnaud
The client is mostly developed on Ubuntu 16.04, so it is compatible . What error are you seing?
/Arnaud