Page 1 of 1

Crazyflie fly off in swarm

Posted: Fri Dec 03, 2021 8:59 am
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!

Re: Crazyflie fly off in swarm

Posted: Mon Dec 06, 2021 9:52 am
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.