egze
Programmable drones with Elixir
Hi folks. I am thinking to buy a drone and have some fun flying it, and being an engineer, I of course thought about writing code for it. That would be pretty cool to write code for a specific task a drone can do.
It could be things like:
- Algorithm for locating a certain object in the area. Different search patterns, object recognition.
- Drone swarm. Some tasks where drones benefit with acting as a team.
I think Elixir could fit quite well in the task. The question is - are there already some commercial drones that let you code in Elixir? Or maybe it’s possible to build a drone from scratch? Does anyone have experience with writing software for drones?
Most Liked
trisolaran
Sounds cool! A perfect fit for Elixir’s “let it crash” philosophy ![]()
robinhilliard
My mavlink | Hex library can be used to communicate with Ardupilot. See my presentation https://www.youtube.com/watch?v=36RhX2HtfJo for a discussion on drones and an example of Mavlink being used to communicate with a software-in-the-loop Ardupilot connected to X-Plane.
BartOtten
I thought about erlang/elixir hot code reloading! Updating the software while it’s in the air. Just to show off.
Would use Distillery as mix release’s can’t be used for it.









