Highlevel swarm example; drones are not taking off
Posted: Wed Jul 31, 2019 8:30 pm
Heeya,
While checking if my old code is compatible with this new high level swarm example (https://github.com/bitcraze/crazyflie-l ... r-swarm.py) i noticed two strange things. I was hoping you could elaborate on that.
First when running a sequence with more than one drone some or all drones refuse to take off. After some commands they might "randomly" start by going to the latest position (usualy crashing while doing so because of the high rate of change in velocity).
Here's what i've tried without success:
Sending more than one take-off command, changing the step duration both up and down, sending more position commands, sending fewer position commands, sending land commands and then sending take-off commands.
All with no result.
What i also noticed is that if i run a sequence with one drone it works just fine, if i then do the same sequence with a different drone it also works fine. once both drones have run a single sequence i can run a sequence with both of them.
Its almost as if they need to be primed or something. When i reconnect with the drones they stay "primed", but when they reboot they are again not capable of taking off in groups.
The second issue i am having with the lighthouse decks is that de Crazyflie 2.0 seems to be performing much worse with the lighthouse deck than the 2.1. The 2.0 seems to be much more wobbly and especially in the Z-axis (height). Position fluctuates about 4-5 cm up and down. Is this related to the updated crazyflie, or is there a setting we need to tweak?
Looking forward to hearing from you,
Jasper
While checking if my old code is compatible with this new high level swarm example (https://github.com/bitcraze/crazyflie-l ... r-swarm.py) i noticed two strange things. I was hoping you could elaborate on that.
First when running a sequence with more than one drone some or all drones refuse to take off. After some commands they might "randomly" start by going to the latest position (usualy crashing while doing so because of the high rate of change in velocity).
Here's what i've tried without success:
Sending more than one take-off command, changing the step duration both up and down, sending more position commands, sending fewer position commands, sending land commands and then sending take-off commands.
All with no result.
What i also noticed is that if i run a sequence with one drone it works just fine, if i then do the same sequence with a different drone it also works fine. once both drones have run a single sequence i can run a sequence with both of them.
Its almost as if they need to be primed or something. When i reconnect with the drones they stay "primed", but when they reboot they are again not capable of taking off in groups.
The second issue i am having with the lighthouse decks is that de Crazyflie 2.0 seems to be performing much worse with the lighthouse deck than the 2.1. The 2.0 seems to be much more wobbly and especially in the Z-axis (height). Position fluctuates about 4-5 cm up and down. Is this related to the updated crazyflie, or is there a setting we need to tweak?
Looking forward to hearing from you,
Jasper