unl-nimbus-lab / pymavswarm

Python library used to safely control drone swarms and drone fleets with MAVLink
https://pymavswarm.readthedocs.io
GNU General Public License v3.0
17 stars 5 forks source link

[FEATURE]: Implement flocking algorithm example #78

Open evan-palmer opened 2 years ago

evan-palmer commented 2 years ago

Is your feature request related to a problem? Please describe

pymavswarm advertises the ability to be used for implementing decentralized swarm algorithms; however, there are no examples demonstrating how this could be implemented.

Describe the solution you'd like

Implement an example that can be executed on the companion computer of swarm agents that demonstrates a decentralized flocking behavior.

Describe alternatives you've considered

Alternatives could include a centralized swarm algorithm. In the future, both may be desirable.

Implementation Ideas

Implement a flocking algorithm as an example available in the examples/ directory. The example should be executable from an agent's companion computer (e.g., a Raspberry Pi 4), and demonstrate the ability to command multiple agents to flock to a location.

Additional context

Potential related works include the following: