JavaScript CSS
Latest commit 7ebb3d8 May 29, 2014 @felixge felixge Document justrun dep
Permalink
Failed to load latest commit information.
backend Initial code May 28, 2014
frontend s/Soccer/Football/ May 28, 2014
.gitignore Initial code May 28, 2014
.jshintrc Initial code May 28, 2014
Makefile Initial code May 28, 2014
README.md Document justrun dep May 29, 2014
package.json fix npm dependencies May 28, 2014

README.md

ardrone-football

Base project for the JSConf.us 2014 NodeCopter Football challenge.

Install

$ git clone https://github.com/nodecopter/ardrone-football.git
$ cd ardrone-football
$ npm install

Additionally you will need to install justrun (binary downloads available) for getting the frontend code to automatically rebuild on changes.

Running

$ make

Then open your browser at http://localhost:3000/.

Details

The ardrone-football project provides you with a base project for experimenting with in-browser computer vision for performing "penalty kicks" with an ar-drone.

The project uses dronestream to render the video stream received from the drone, and allows you to select a color to detect the ball. The detection algorithm is computing a very naive average of the color distribution, and you should try to improve it or replace it with something better..

Additionally the project comes with a simple PID Controller which is setup to align the drone with the ball.

The project itself is in various states of incompletion, and probably also full of bugs, so feel free to rip out, change, or improve anything you want.