Autonomous Flight with Swarm
Posted: Fri Nov 26, 2021 10:44 pm
Hi all,
I have written a script drawing ideas from previous posts on this forum to try to get a swarm to execute the autonomous flight task utilizing the multiranger and flowdeck stem bundle from Bitcraze.
My only issue is that the behavior of the autonomous flight correctly works for one drone, but when observing the other 2 drones (a total of 3 drones) the drones seem to drop and stop running the task or that they do not continuously fly in a direction and are unable to respond to my lines where I utilize the multiranger's sensor readings. Could I get an answer on why that be the case if anyone happens to know? It would be greatly appreciated thanks.
My code is in this link here since it might be long
https://pastebin.com/VXGbTneK
Thanks again.
I have written a script drawing ideas from previous posts on this forum to try to get a swarm to execute the autonomous flight task utilizing the multiranger and flowdeck stem bundle from Bitcraze.
My only issue is that the behavior of the autonomous flight correctly works for one drone, but when observing the other 2 drones (a total of 3 drones) the drones seem to drop and stop running the task or that they do not continuously fly in a direction and are unable to respond to my lines where I utilize the multiranger's sensor readings. Could I get an answer on why that be the case if anyone happens to know? It would be greatly appreciated thanks.
My code is in this link here since it might be long
https://pastebin.com/VXGbTneK
Thanks again.