Git Product home page Git Product logo

cylon-bebop's Introduction

Cylon.js For Bebop

Cylon.js (http://cylonjs.com) is a JavaScript framework for robotics, physical computing and the Internet of Things.

This module provides an adaptor/driver for the Parrot Bebop drone.

The implementation uses the node-bebop node module from @hybridgroup.

Want to use Ruby on robots? Check out our sister project Artoo (http://artoo.io)

Want to use the Go programming language to power your robots? Check out our sister project Gobot (http://gobot.io).

Build Status Code Climate Test Coverage

How to Install

$ npm install cylon cylon-bebop

How to Use

var Cylon = require('cylon');

Cylon.robot({
  connections: {
    bebop: { adaptor: 'bebop' }
  },

  devices: {
    drone: { driver: 'bebop' }
  },

  work: function(my) {
    my.drone.takeOff();
    after((5).seconds(), my.drone.land);
  }
}).start();

How to Connect

The Bebop is a WiFi device, and by default it is configured to act as a WiFi access point. To connect to a single drone just connect your computer's WiFi to the drone's WiFi. The default name for the Bebop's access point will include "Bebop" in its name.

Documentation

We're busy adding documentation to our web site at http://cylonjs.com/ please check there as we continue to work on Cylon.js

Thank you!

Contributing

For our contribution guidelines, please go to https://github.com/hybridgroup/cylon/blob/master/CONTRIBUTING.md .

Release History

For the release history, please go to https://github.com/hybridgroup/cylon-bebop/blob/master/RELEASES.md .

License

Copyright (c) 2013-2016 The Hybrid Group. Licensed under the Apache 2.0 license.

cylon-bebop's People

Contributors

deadprogram avatar stewart avatar zankavrogin avatar zankich avatar llemon-valid avatar

Stargazers

 avatar Justin Ritchie avatar Jim Ing avatar Semih Korkmaz avatar Arthur Spitznagel avatar Dima Khabibulin avatar Markus Schaden avatar Kostas Kapenekakis avatar Kévin Gallienne avatar  avatar  avatar Arthur avatar Ivan Verevkin avatar kendemu avatar Urs Hunkler avatar Signo avatar Tomasz avatar Nick Peihl avatar Jarvis Ao Ieong avatar

Watchers

 avatar Edgar Silva avatar Tomasz avatar James Cloos avatar Semih Korkmaz avatar  avatar Chris Potter avatar  avatar Dima Khabibulin avatar Justin Zemlyansky avatar  avatar  avatar

cylon-bebop's Issues

Out of control landing

When using bebop 2 with firmware 4.0, landing is failing, causing bebop to get close to ground around 15-20 cm and then jump with no control. This was not an issue with older framework.

Dualshock 3 example

Hi,
why do you use speed between 0 - 100 instead of 0.0 - 1.0?

-- Tom

PS Will you add new commands such as flip, emergency, etc.?

MediaRecord photoV2 issue

Hi I'm trying to use the API to take a picture to internal memory, but upon running the following code, the photo is not appearing in internal memory (via FreeFlight).

var Cylon = require('cylon');

Cylon.robot({
    connections: (function() {
        var connections = {
            keyboard: { adaptor: 'keyboard' },
            bebop: { adaptor: 'bebop' },
        }
        return connections;
    })(),

    devices: (function() {
        var devices = {
            keyboard: { driver: 'keyboard', connection: 'keyboard' },
            drone: { driver: 'bebop', connection: 'bebop' },
            stream: { driver: 'media-streaming', connection: 'bebop' },
            record: { driver: 'media-record', connection: 'bebop' }
        };
        return devices;
    })(),

    work: function (my) {
        my.record.pictureV2();
  },
}).start();

Cannot find function my.drone.getPngStream

Hi, I'm trying to use face tracking with opencv from ardrone codes on my bebop drone but currently, it doesn't have such function (my.drone.getPngStream).

Is there any alternative?

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.