Crazyflies loosing poses for swarm sizes greater then 6 drones #769
Replies: 3 comments 23 replies
-
Thanks for the report including the comparison with Crazyswarm2. A few notes
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Actually I highlighted this for CSW1, the link quality errors come with CSW1 launch server (and not with CSW2) |
Beta Was this translation helpful? Give feedback.
-
Hi @whoenig,
I have been testing the crazyswarm API in a new lab, The lab setup is given as below:
Tracking: Vicon Vantage V16 Cameras working at default 100 FPS. No. of cameras covering the space 40
Area of the space: 80’ by 60’ space with a minimum 30’ ceiling
The lab is RF shielded ( 90 MHz-18 GHz )
Connection with the computer running Crazyswarm: Connected via ethernet cable with the Vicon Computer directly over static IP with separate IP domain
Computer specs running the Crazyswarm: Razer Lambda X Tensorbook running native Ubuntu 22.04
Drone swarm configuration:
3 Radios on 3 channels over 80, 90 and 100
2 radios connected via USB splitter and 1 radio directly to the Computer
Issue description: The hoverswarm launch script runs and initializes radio and crazyswarm server connection with the vicon and drones, As soon as I start the figure8_csv.py script the drones start loosing pose. Although they takeoff pretty well, but every drone after takeoff starts loosing pose and lands after some time.
What we have debugged?
What we think might be wrong?
Last week me and @ewinge1 had a zoom call to debug the same issue and the only bottleneck we found was the communication between radios and drones, Eric specifically pointed out that while rebooting using chooser.py script some of the drones timed out and didn't reboot. This could be one of the bottle necks. Since the lab is RF Shielded the radio interference theory could be ruled out. The only other thing we could think of was something in the server script delaying the communication
Comparative testing of the above theory with Crazyswarm 2: (CSW2)
To test the radio failure theory, we tested the same 12 drone swarm on CSW2, the drones did takeoff and some executed figure 8 while some didn't (which is an entirely separate and open issue on CSW2 repo) but none of the drones reported Pose Lost errors. Eric said that since CSW2 uses Safelink protocol the poses are guaranteed to be delivered even though it takes time, while in case of CSW1 there is a timeout which happens, which basically means the radio gives up on the drone.
Contradictions:
I tested a 24 drone swarm using CSW1 in a smaller lab with 12 cameras and it worked just fine (i.e. the figure8 script), plus that lab is not RF shielded and is infact much worser environment for 2.4G devices to get tested.
If you could give me some pointers about this issue it would be greatly helpful
Beta Was this translation helpful? Give feedback.
All reactions