CFclient on Ubuntu

Post here to get support
Post Reply
hyperglider
Beginner
Posts: 16
Joined: Tue Mar 15, 2016 10:12 pm

CFclient on Ubuntu

Post by hyperglider »

Hi,

Being trying to work out how to get the CFclient on Ubuntu. Is there a way to do this?

HG
whoenig
Expert
Posts: 395
Joined: Mon Oct 27, 2014 2:55 am

Re: CFclient on Ubuntu

Post by whoenig »

goe
Beginner
Posts: 2
Joined: Mon Nov 28, 2016 2:29 am
Location: USA

Re: CFclient on Ubuntu

Post by goe »

Any chance these will be updated for Ubuntu 16.10 in the near future?

With PyQt4 QtWebKit being dropped, I've tried updating the client to PyQt5 and mostly muddled through QtWidgets vs QtGui sorting in the new version but still ran into issues with hexspinbox.py QAbstractSpinBox wrong argument types and got stuck there.
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: CFclient on Ubuntu

Post by arnaud »

There is a ticket about porting to QT5 and some preliminary code for it on github: https://github.com/bitcraze/crazyflie-c ... issues/269

It was aimed at Mac OS but from what you are saying I guess all OS would be better off with QT5 ...

As for webkit, it is needed only for the Tab which is not working anyway, lets disable it for now.
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: CFclient on Ubuntu

Post by arnaud »

Done, I just disabled the GPS tab. Please tell me if it helps running on Ubuntu 16.10.

Edited: typo 16.04 to 16.10 ...
goe
Beginner
Posts: 2
Joined: Mon Nov 28, 2016 2:29 am
Location: USA

Re: CFclient on Ubuntu

Post by goe »

Yes, that seems to have done the trick now and cfclient launches fine, connects and so on. I had to remove PySide as well since it was causing problems and was an unsuccessful attempt to get PyQt4 on Ubuntu 16.10 before deciding to just try moving to qt5.

I cloned your qt5 branch and repeated your same commenting out of ui tab for GPS manually:
https://github.com/ataffanel/crazyflie- ... n/tree/qt5
Post Reply