Multiple crazyflie with single crazyradio

Discussions about all things Bitcraze
Post Reply
piyushiit.123
Beginner
Posts: 1
Joined: Tue Jun 14, 2016 10:55 am

Multiple crazyflie with single crazyradio

Post by piyushiit.123 »

I am a first year student and I am doing a research on stabilization of quadcopters. For this, I am using two Crazyflie 2.0. I have successfully coded it so that two crazyflies (with different channels) can be operated using two separate Crazyradio PA dongles with the help of two different laptops.

However, I need to control the two crazyflies using a single laptop, using a single crazyradio dongle. Please suggest me how should I do this. I tried to modify the code, but each and every time an error occurs: "Link already open".
whoenig
Expert
Posts: 395
Joined: Mon Oct 27, 2014 2:55 am

Re: Multiple crazyflie with single crazyradio

Post by whoenig »

The Crazyflie ROS driver supports that (http://wiki.ros.org/crazyflie). The core is written in C++ can can be used without ROS (this is not officially supported/tested though).

If you want python, there is a (very old) branch which supports that too here: https://github.com/whoenig/crazyflie-cl ... _multilink. However, this hasn't been updated in a long time. Perhaps you could try porting the necessary changes to the latest python SDK.

You can find more technical details in the blog post: https://www.bitcraze.io/2015/04/towards-crazyswarms-2/
Post Reply