Page 1 of 2
no logging checkboxes visible in cfclient
Posted: Mon Mar 02, 2020 9:19 pm
by tintin
I'm having difficulties with the "Log Blocks" tab in cfclient: according to the screenshots in the manual/tutorial the variables to be logged can be selected using the respective checkboxes but these are not visible in my client. I'm running the client on a Linux machine (Linux Mint 19.3, Linux 5.3.0-40-generic #32~18.04.1-Ubuntu SMP Mon Feb 3 14:05:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux). Otherwise the cfclient runs fine.
I've noticed that I'm getting multiple debug/error messages in the console output when doing a mouseover in the area where the checkboxes should be:
===== 2020.03.02 21:03:46 =====
Traceback (most recent call last):
File "/home/uwe/Development/bitcraze/crazyflie-clients-python/src/cfclient/ui/tabs/LogBlockTab.py", line 290, in paint
subElementRect(QStyle.SE_CheckBoxIndicator, option)
TypeError: subElementRect(self, QStyle.SubElement, QStyleOption, QWidget): not enough arguments
...
More details can be found in the attached console dump file.
Any ideas what's causing this?
Thanks and regards
Tintin
Re: no logging checkboxes visible in cfclient
Posted: Tue Mar 03, 2020 9:00 am
by kimberly
Hi!
We haven't tested the cfclient on Linux mint yet, as we mainly work on Ubuntu. On Ubuntu 18.04 there is no problem with the check-boxes but Qtgui has a tendency to be a bit tricky on different OSes
Do you mind sending us a screenshot of the cfclient? And are you able to use the logging configurations + logging functionality ?
Re: no logging checkboxes visible in cfclient
Posted: Tue Mar 03, 2020 12:18 pm
by tintin
Hi Kimberly,
thanks for the quick reply. I'm currently not at my cfclient computer but I'll send you some screenshots asap, i.e. this evening.
I haven't used the logging functionality yet but the plotting function works fine.
Regards
Tintin
Re: no logging checkboxes visible in cfclient
Posted: Tue Mar 03, 2020 6:00 pm
by tintin
Hi,
here are the requested screenshots of my cfclient. The only tab showing a problem is the "Log Blocks" tab, afaik.
Let me know if you need more info about my system / installation. Thanks for your assistance.
Regards
Tintin
Re: no logging checkboxes visible in cfclient
Posted: Wed Mar 04, 2020 7:46 am
by kristoffer
There used to be a similar problem on OSX, see
https://github.com/bitcraze/crazyflie-c ... issues/308
QT is usually the problem, it might be worth trying another version.
Re: no logging checkboxes visible in cfclient
Posted: Wed Mar 04, 2020 9:48 pm
by tintin
Currently I have the following Qt-related versions installed:
dpkg -l python3-pyqt5
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii python3-pyqt5 5.10.1+dfsg- amd64 Python 3 bindings for Qt5
dpkg -l python3-pyqt5.qtsvg
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii python3-pyqt5. 5.10.1+dfsg- amd64 Python 3 bindings for Qt5's SVG m
pip3 show pyqtgraph
Name: pyqtgraph
Version: 0.10.0
Summary: Scientific Graphics and GUI Library for Python
Home-page:
http://www.pyqtgraph.org
Author: Luke Campagnola
Author-email:
luke.campagnola@gmail.com
License: MIT
Location: /home/uwe/.local/lib/python3.6/site-packages
Requires: numpy
Which version would you recommend?
Re: no logging checkboxes visible in cfclient
Posted: Thu Mar 05, 2020 9:56 am
by kristoffer
We have one linux machine that uses 5.12.3 that seems to work.
I have 5.14.1 on my machine (OSX) and it actually seems to be a problem there. The check boxes appear too far to the right.
I'll create an issue for it
https://github.com/bitcraze/crazyflie-c ... issues/393
Re: no logging checkboxes visible in cfclient
Posted: Thu Mar 05, 2020 10:45 am
by tintin
O.K., thanks for the info and for creating an issue. In the meantime I'm using the client in the VM, but it would be more convenient to have it working natively. Regards, Tintin
Re: no logging checkboxes visible in cfclient
Posted: Mon Jul 27, 2020 9:45 am
by tintin
Here's some updated info on the issue: after upgrading from Linux Mint 19.3 to LM 20 the logging tab is now displayed correctly:
Re: no logging checkboxes visible in cfclient
Posted: Mon Jul 27, 2020 10:42 am
by kimberly
Thanks for givingus an update!
Which version of the cfclient was/is this actually? Then I can update the issue posting about this.