Crazyflie fly off in swarm

All discussions related to the Loco Positioning system
Post Reply
cfnewbie
Beginner
Posts: 24
Joined: Wed Jun 17, 2020 8:51 am

Crazyflie fly off in swarm

Post by cfnewbie »

Hi,

I was trying to fly 2 crazyflies using loco positioning system in twr mode using the swarmsequence script in cflib.
The script works fine flying 1 crazyflie but when flying 2, the crazyflies will just fly off until it crashes.

Tried running the script on same/different channel and address, still the same.

anyone can help me figure out where went wrong? Thank you!
kristoffer
Bitcraze
Posts: 621
Joined: Tue Jun 30, 2015 7:47 am

Re: Crazyflie fly off in swarm

Post by kristoffer »

Hi,

TWR ranging only works for 1 Crazyflie, to fly more than one use one of the TDoA modes. I suggest using TDoA3 as it is more robust and easy to use.
Post Reply