• Home

  • Custom Ecommerce
  • Application Development
  • Database Consulting
  • Cloud Hosting
  • Systems Integration
  • Legacy Business Systems
  • Security & Compliance
  • GIS

  • Expertise

  • About Us
  • Our Team
  • Clients
  • Blog
  • Careers

  • VisionPort

  • Contact
  • Our Blog

    Ongoing observations by End Point Dev people

    JSConf US — Day 2

    Greg Davidson

    By Greg Davidson
    June 5, 2013

    Choose Your Own Adventure

    For day two of JSConf, the organizers decided to try something new. Rather than a day of scheduled talks, attendees could choose from a variety of activities. There was kayaking, golf, segway tours, scavenger hunts or you could just hang out at the pool if you like. There was also the opportunity to hack on NodeBots or Node Copters. While the outdoor stuff sounded awesome, I opted to hack on and play with the nodecopters.

    Node Copter

    With the help of nodejitsu, Chris Williams was able to bring 50 Parrot AR Drone quadcopters for teams to play with and hack on with JavaScript. Felix Geisendorfer and a contingent of volunteers showed us how to fly the quadcopters (with either an iOS or Android device) and how they could be controlled with JavaScript code. Felix is the author of the ar-drone node.js module which makes this possible. With a laptop connected to the quadcopter, the following code is all you need to have it take off, rotate a little bit, perform a flip and then land:

    var arDrone = require('ar-drone');
    var client = arDrone.createClient();
      .after(5000, function() {
      .after(3000, function() {
        this.animate('flipLeft', 15);
      .after(1000, function() {

    The Challenge

    I worked in a team with Ryan Seddon and John Buckley on a challenge set out at the beginning of the day by Felix. We used Open CV (Computer Vision library) initially and later the on-board compass data to have the nodecopter take off, locate a marked line on the floor, fly to the end of the line and then land in the prescribed location. We were close several times but did not successfully complete the challenge in the end. This was dissappointing but we still had a blast working on it throughout the day.


    At the end of the day, many of the teams demonstrated what their team had come up with. This was a lot of fun to watch. Typically, each nodecopter operates as a wifi access point. To control the nodecopter, you connect your computer to that wireless network and then gain control. This works well but has the limitation of only operating one nodecopter at a time. Several teams worked on hacks to enable multiple nodecopters to fly at the same time. This short clip I filmed, shows one such squadron of nodecopters flying in unison.

    Many thanks to Felix and his team, Chris for bringing in so many nodecopters (and batteries), and to nodejitsu for sponsoring this great event!

    browsers conference javascript