How do I use the CoDrone EDU Swarm Feature?

Updated by Robolink Support

At this time, we recommend using no more than four (4) drones per computer. Additionally, Python for Robolink in the browser does not yet support swarm functionality. Please stay tuned for future content and updates!

Looking to use this swarming feature with your CoDrone EDU? The codrone-edu Python package (version 2.2 or newer) includes a swarm library that allows you to control multiple drones from one computer. It’s designed to be user-friendly and syntactically similar to our standard drone library—so you don’t need to implement a swarm from scratch. To see device requirements, setup, and instructions check out the full Swarm Library Documentation.

What Can the Swarm Library Do?

When you program with this library, you will be able to:

  • Send the same command to multiple drones simultaneously
  • Schedule commands per drone
  • Execute scheduled commands together or individually

With these features, you can create drone choreography using your set of CoDrone EDU drones.

What Can the Swarm Library Not Do?

  • It does not support automatic drone-to-drone coordination or positioning (no GPS, no drone-to-drone communication, and no onboard vision)
  • It cannot track or follow a "leader" drone

If you want drones to follow predefined positions, you’ll need to create your own logic for coordinating position. For better accuracy, we recommend using the Robolink programming mat (6ft x 6ft grid mat with distance markers).

Device Requirements

To use the swarm feature, you'll need both compatible hardware and software. Make sure you have a macOS or Windows laptop or desktop with access to multiple USB-A ports, either through a USB hub or directly on the device. On the software side, a proper Python environment must be set up. For more detailed information, please visit our Swarm Library Documentation site and look under the Requirements tab.

Recommendations

For the best experience using the swarm feature, we recommend certain materials and a baseline level of programming experience. These tools and skills help ensure smoother setup, better flight accuracy, and effective troubleshooting:

Recommended Materials & Experience:

  • Robolink Programming Mat - improves flight consistency and positioning accuracy
  • Aerial Drone Competition Mat - works as an alternative
  • Experience with Python programming
  • Understanding of Python classes, nested lists, and CoDrone EDU’s Python functions
  • Educator experience (if using in a classroom setting)

If you run into any issues or need additional support, feel free to contact Robolink Support at support@robolink.com. To help us assist you more efficiently, please include the following in your message:

  • Photos of your drone setup and grid area
  • Your swarm Python code
  • A clear explanation of what behavior or issue you’re experiencing


How did we do?

Powered by HelpDocs (opens in a new tab)

Powered by HelpDocs (opens in a new tab)