Flying Multiple Crazyfile

Discussions and questions about the Crazyflie Nano Quadcopter
Post Reply
yuhsiang
Beginner
Posts: 22
Joined: Wed Mar 03, 2021 11:53 am

Flying Multiple Crazyfile

Post by yuhsiang »

Hi,

I am planning to use Crazyfile in my research.
Is it possible to fly multiple Crazyfiles and synchronize each of their logging configure?
Any experience?

Thank you in advance.
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Flying Multiple Crazyfile

Post by arnaud »

As wolfgang noted in his answer in your other thread (viewtopic.php?p=21520#p21520), logs are sampled and timed in the Crazyflie clock and there is not synchronization between Crazyflie clocks implemented as from now.

The way Crazyswarm handles that is by sending a broadcast signal to the swarm to get them synchronized. This will not work with the python lib unfortunately since it does not support broadcast yet.

Without syncrhonization what you can expect is:
- The sampling time of the log will be anywhere in the log period you choose
- There should be only a couple of 10s of milliseconds between a sample is taken in the Crazyflie and it is received on the PC side. So depending of how tight of a synchronization you need, it might be good enough to time the sample at receive time.
Post Reply