Coder Social home page Coder Social logo

flowcopter's Introduction

flowcopter Build Status Greenkeeper badge

NoFlo and NodeCopter examples

Installing

Clone this repository and install the dependencies with:

$ npm install

Then you can build the client-side file with:

$ grunt build

Running

Connect your computer to the network provided by your AR.Drone. Then start the server-side process that communicates with your drone with:

$ ./node_modules/.bin/noflo graphs/FlowCopter.fbp

Then open one of the client-side files in your browser. If you want to use the gamepad example, you need a compatible gamepad. We've tested this so far only with a USB-connected XBox controller. Click the Start button to get the drone flying.

WebSocket communications

There is a system for communicating between client-side NoFlo flows and Node.js via WebSockets. This is used in the gamepad example.

The protocol is quite simple. Each command is sent as a JSON object, like the following:

{
  "forward": 0.4
}

or

{
  "land": true
}

There can be multiple commands in the same payload.

flowcopter's People

Contributors

bergie avatar cannonerd avatar greenkeeper[bot] avatar greenkeeperio-bot avatar woodworker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

dazld billthebest

flowcopter's Issues

An in-range update of grunt-noflo-browser is breaking the build 🚨

Version 1.4.0 of grunt-noflo-browser was just published.

Branch Build failing 🚨
Dependency grunt-noflo-browser
Current Version 1.3.2
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

grunt-noflo-browser is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ❌ continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 8 commits.

  • 49cbe83 Bump
  • f6ac38e Merge pull request #30 from noflo/noflo_component_loader
  • 9935b00 Try to match also Windows paths with regexp
  • c188098 Bump noflo-component-loader dep
  • 84cec54 Update to legacy-free component versions
  • 821de79 Test on modern Node.js
  • ea16584 Use noflo-component-loader to build the loader
  • f00089b Remove obsolete grunt-noflo-manifest

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

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.