Code Monkey home page Code Monkey logo

drone-browser's Introduction

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: drone browser in chrome

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....)

drone-browser's People

Contributors

functino avatar

Watchers

Nick Payne avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.