Exdrone is a client for the Parrot ARDrone.
connection = Exdrone.Connection[host: {192,168,1,1}, port: 5556]
alias Exdrone.Drone, as: D
{:ok, drone} = D.start(connection)
drone |> D.take_off
drone |> D.land
To run the tests:
mix test
To start a udp server that will log messages sent to it to a file:
nc -4 -u -l 2389 > /tmp/udp.data
If you're interested in reading other sources re: how the ARDrone communication protocol works, here are a few good ones:
- Argus - the ruby library upon which this codebase is based.
- How to Program the ARDrone over Wi-Fi is the first part of a nice series.