AR.Drone 2.0 status in the browser via WebSocket
You will need a browser that supports WebSockets.
npm install dronestatus
In node you simply need to attach
dronestatus to your server:
In your HTML include the client script, then add a listener to handle status change from the drone:
You can find a more detailed example under
The payload that is provided from the server provides a lot of data about the state of the drone. I will attempt to document this more fully at some point. In the meantime example/message.json provides an example of what the message looks like.