log data

Post here to get support
Post Reply
yche15Crazy
Beginner
Posts: 6
Joined: Thu Dec 06, 2018 12:22 pm

log data

Post by yche15Crazy » Mon May 13, 2019 12:37 pm

Hi,

I have a problem for collecting IMU data by using Laptop-Client when I manually fly the CF with my phone.
The connection between the CF and Laptop-Client always break after I control the CF for several seconds, so I can't collect valid data.
How can I fix it?

And second, logging the data while controlling the CF with code is also preferable, but can you please show me how can I integrate two of your example code into ones? I mean I want to control the CF like flowsequenceSync.py and log data like basiclogSync.py. Both of them have their own loops, e.g. ' for y in range(10):' in flowsequenceSync.py and 'with SyncLogger(scf, lg_stab) as logger:' in basiclogSync.py, so what is the correct order to arrange them?

Thank for your response.

kimberly
Member
Posts: 47
Joined: Fri Jul 06, 2018 11:13 am

Re: log data

Post by kimberly » Fri Jul 05, 2019 8:14 am

Hi,

The fact that you are able to connect to the crazyflie through the crazyradio on the computer and the phone at the same time, is actually a bug and is not what the system is designed to do. This bug will disapear in the new future so you will not be able to do this anymore.So if you want to fly the Crazyflie and collect data at the same time, control it with a controller directly from you computer instead.

In the mean time, I hope you were able to solve your logging script problem? Let us know if you still need an example

Post Reply