voxel-drone
An AR Drone simulator in voxeljs.
work in progress. please view the issue tracker if you would like to help!
example
Open up the demo:
shama.github.com/voxel-drone. Then in the
command box at the bottom type: takeoff()
. Or open up the javascript console
and type: drone.takeoff()
.
It works with a browserified version of
ar-drone and reads raw AT*
commands (well almost). So all the commands you do in ar-drone you can do
here as well:
drone;drone ;
usage
In your voxeljs world add a drone with the following:
// create a worldvar createEngine = ;var game = ;var container = documentbody;game;container; // voxel-drone returns a function to create a dronevar createDrone = ; // create a drone / add to the gamevar drone = ;game; // tell the drone to take offdrone;
testing
Install devDeps with:
npm install grunt-cli -g && npm install browserify -g && npm install
.
Then run: grunt
to copy files, browserify things and run a server on
http://localhost:8085.
release history
- 0.2.1 - cap the amount of tilt. add front texture. update voxel engine.
- 0.2.0 - video camera!
- 0.1.2 - fix animations and leds
- 0.1.1 - fix rotation relative direction
- 0.1.0 - initial release
license
Copyright (c) 2013 Kyle Robinson Young
Licensed under the MIT license.