https://github.com/functino/drone-browser
Remote control your ar-drone 2 via your browser
https://github.com/functino/drone-browser
Last synced: 3 months ago
JSON representation
Remote control your ar-drone 2 via your browser
- Host: GitHub
- URL: https://github.com/functino/drone-browser
- Owner: functino
- Created: 2012-10-14T16:46:25.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2012-10-27T10:51:42.000Z (almost 13 years ago)
- Last Synced: 2024-04-15T10:47:58.410Z (over 1 year ago)
- Language: JavaScript
- Size: 1.49 MB
- Stars: 107
- Watchers: 11
- Forks: 52
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
- awesome-drone-hacking - Drone Browser - Remote control for Parrot AR Drone via browser. (:wrench: Tools / Scientific Research)
README
Getting started
======
Connect to your ar drone 2 via WLAN, then run node.server.js open up localhost:3001 and you're ready to go.Use `W, A, S, D` to move front, back and sideways. Use your `cursors` to go up/down or turn clockwise/counter clockwise.
Some animations can be triggered with `1-4`
`SPACE` for taking of and `esc` for landing.When you crash use `e` to recover from emergency mode.
This project is heavily inspired from https://github.com/usefulthink/nodecopter-monitor . I just removed the three.js part and ported it from socket.io to faye since I like that better.
Dependencies
=======
You can install/update the node dependencies via `npm install -d`.
Dependencies for client code are managed via bower ( https://github.com/twitter/bower ).
You need to have `ffmpeg` installed (it's used for the picture stuff)Screenshot
========
This is how it looks like in action:
TODO
======
- use getUserMedia/the webcam to control the drone (like magic xylophone...)
- add a slider to make the speed/duration of actions configurable
- toggle between takeoff/land buttons or disable takeoff button after takeoff...
- mayby change the "recover" button to send a land command first (because otherwise the drone tries to start again...)
- only show the recover button when the drone is in emergency mode
- use canvas to draw angle-stuff or rotate the picture stream accordingly
- get rid of the (sometimes) long lag of the picture stream
- makte it work without ffmpeg (skip the picture stuff then....)