logdata files empty

Discussions about all things Bitcraze
Mitteau
Expert
Posts: 248
Joined: Fri Jan 29, 2016 6:00 am

logdata files empty

Post by Mitteau »

Hello everybody !
I have a problem:
I want to register logdata files of some flight data from crazyflie.
The data are correct in the plotter tag, but some files in config/logadata are totally empty.
Only one of the writing is correct, 100ms-stabilizer. The other files are empty, although data appear in plotter.
Thanks for help !
Jean-Claude
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: logdata files empty

Post by tobias »

Might be a silly question but have you checked the "Write to file" checkbox in the Log Blocks tab?
Mitteau
Expert
Posts: 248
Joined: Fri Jan 29, 2016 6:00 am

Re: logdata files empty

Post by Mitteau »

Thanks !
Not so silly ! But write file was checked and works only for stabilizer block...
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: logdata files empty

Post by arnaud »

Are you using a recent firmware? We reached the limit of possible log block in the most recent client that requires to update the firmware to add new log blocks (we increased the max number of log block in the firmware).
Mitteau
Expert
Posts: 248
Joined: Fri Jan 29, 2016 6:00 am

Re: logdata files empty

Post by Mitteau »

Yes, I installed version 2017.04...
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: logdata files empty

Post by arnaud »

Mitteau
Expert
Posts: 248
Joined: Fri Jan 29, 2016 6:00 am

Re: logdata files empty

Post by Mitteau »

I download yesterday last commits from github, but as my cf2 is our of service, we must wait one week to test the new firmware. I will stay in contact. Jean-Claude
Mitteau
Expert
Posts: 248
Joined: Fri Jan 29, 2016 6:00 am

Re: logdata files empty

Post by Mitteau »

Hello
I get yesterday my new cf2.
Today, 3 logdata are running: stabilizer, motors, baro. zrange, battery, althold does not are written in files althongu correctly shown on plotter tab.
...
The versions are:
1/ firmare, commit master/e4b3193
2/ python client, commit master/2378d47
3/ lib, commit master/fa726da
PC system is Debian 8.8
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: logdata files empty

Post by tobias »

Hmmm, so you have ticked the write to file checkbox and nothing shows up in the log folder? You can open the log folder from the client.
Mitteau
Expert
Posts: 248
Joined: Fri Jan 29, 2016 6:00 am

Re: logdata files empty

Post by Mitteau »

Yes, but today, there are only battery and z-range which do not write anything.
How can I read logdata from client ?
Jean-Claude
Post Reply