bitcraze / crazyflie-clients-python

Host applications and library for Crazyflie written in Python.
Other
301 stars 468 forks source link

Plotter CSV export (x,y,y,y) column mode not working #725

Open matejkarasek opened 4 weeks ago

matejkarasek commented 4 weeks ago

There seems to be a bug when exporting the plotter data to CSV, when the (x,y,y,y) colmnMode is used.

The first row with column titles is correct, but the rest of the file follows the default (x,y,x,y,...) pattern.

Attached is an example file csv_export_bug.csv

Observed on Win11 and pip-installed 2024.7.1

knmcguire commented 3 weeks ago

Hi!

I just tried it out with 2024.7.1 on win11 and this is my .csv and for me it seems to be working.

test.csv

Could you share the debug info? Help>About>content of debug tab.

matejkarasek commented 3 weeks ago

Hmm, strange... I should be on latest versions of cfclient, cflib... I am testing this on a Bolt 1.0 with 2024.2 firmware installed via cfclient.

For a similar set of log variables as you have I am still getting the same (wrong) result... export8.csv

Debug info:

Cfclient
Cfclient version: 2024.7.1
System: win32
Python: 3.11.4
Qt: 6.6.1
PyQt: 6.6.1

Interface status
radio: Crazyradio version 0.53
UsbCdc: No information available
udp: None
prrt: No information available
cpx: None

Input readers
PySDL2 (0 devices connected)

Input devices
None

Crazyflie
Connected: radio://0/80/2M
Firmware: e527895e8c6e (CLEAN)

Decks found

Sensors found
BMP388: 1
imuPhi: 0.0
imuTheta: 0.0
imuPsi: 0.0

Sensors tests
knmcguire commented 3 weeks ago

These are my stats of the cfclient:

Cfclient
Cfclient version: 2024.7.1
System: win32
Python: 3.10.11
Qt: 6.6.1
PyQt: 6.6.1

Interface status
radio: Crazyradio version 99.55
UsbCdc: No information available
udp: None
prrt: No information available

I'm using an older version of python.... maybe that's it? I'll see if anyone else on windows could try this out