Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ar-drone-fleet

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ar-drone-fleet

Control multiple ar drones using Node.js, module wraps @felixge's https://github.com/felixge/node-ar-drone module.

  • 0.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

ar-drone-fleet

Control multiple ar drones using Node.js, module wraps @felixge's https://github.com/felixge/node-ar-drone module.

Api wraps all of Felixge's Client api library.

Status

Still under heavy development and not completly tested, still waiting to get together with multiple drones.

Installing

npm install ar-drone-fleet

Api Functions wrapped

  • takeoff
  • land
  • up/down
  • clockwise/counterClockwise
  • front/back
  • left/right
  • stop
  • config
  • animate
  • animateLeds
  • disableEmergency

Each wrapped function can be called as normal to control all drones fleet.takeoff() or with the first parameter as the drones key fleet.takeoff('drone1'). See example below for more details.

var ArDroneFleet = require('ar-drone-fleet');

// Supply constructor with the client options, this is used by arDrone.createClient()
var fleet = new ArDroneFleet({
	drone1 : {ip : "192.168.1.2"},
	drone2 : {ip : "192.168.1.3"}
});

fleet.up(1);
fleet.up('drone1',2); // Use object name

fleet.on('takeoff',function(data){
	console.log(data.drone + " tookoff");
});

// Or alternately supply the constructor with array of client options.
var fleet = new ArDroneFleet([
	{ip : "192.168.1.2"},
	{ip : "192.168.1.3"}
]);

fleet.up(1);
fleet.up(1,2); // Using index of supplied drones

fleet.on('takeoff',function(data){
	console.log(data.drone + " tookoff");
});

FAQs

Package last updated on 26 Mar 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc