Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Cylon adaptor/driver for the Crazyflie nanocopter
JavaScript Makefile
Pull request Compare This branch is 2 commits ahead, 103 commits behind master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
dist
examples
src
test
.gitignore
.jshintrc
.travis.yml
Gruntfile.js
README.md
package.json

README.md

Cylon.js For Crazyflie

Cylon.js (http://cylonjs.com) is a JavaScript framework for robotics and physical computing using Node.js

This module provides an adaptor and drivers for the Crazyflie nanocopter (http://www.bitcraze.se/). It uses the Aerogel node module (https://github.com/ceejbot/aerogel) created by @ceejbot thank you!

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

Getting Started

Install the module with: npm install cylon-crazyflie

Examples

var Cylon = require('cylon');

Cylon.robot({
  connection: { name: 'crazyflie', adaptor: 'crazyflie' },
  device: {name: 'drone', driver: 'crazyflie'},

  work: function(my) {
    my.drone.takeoff();
    after((10).seconds(), function() { 
      my.drone.land();
    });
    after((15).seconds(), function() { 
      my.drone.stop();
    });    
  }
}).start();
Cylon = require 'cylon'

Cylon.robot
  connection:
    name: 'crazyflie', adaptor: 'crazyflie'

  device:
    name: 'drone', driver: 'crazyflie'

  work: (my) ->
    my.drone.takeoff()
    after 10.seconds(), ->
      my.drone.land()
    after 15.seconds(), ->
      my.drone.stop()

.start()

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

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.

Release History

None yet...

License

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

Something went wrong with that request. Please try again.