node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org »


Cylon.js For Rapiro

Cylon.js ( is a JavaScript framework for robotics, physical computing, and the Internet of Things (IoT).

This module provides an adaptor for the Rapiro ( bipedal robot.

Want to use Ruby on robots? Check out our sister project Artoo (

Want to use the Go programming language to power your robots? Check out our sister project Gobot (

Build Status Code Climate Test Coverage

How to Install

Install the module with:

$ npm install cylon cylon-rapiro

How to Use

Here is an example of a simple program that makes the Rapiro walk:

var Cylon = require('cylon');
// Initialize the robot 
  connections: {
    rapiro: { adaptor: 'rapiro', port: '/dev/ttyUSB0' }
  devices: {
    rapiro: { driver: 'rapiro' }
  work: function(my) {
    my['doneWalking'] = false ;
    every(1..second(), function() {
      if (my['doneWalking'] == false) {
    after(10..seconds(), function() {
      my['doneWalking'] = true;

How to Connect

If you are connected from a Raspberry Pi to the Rapiro board, it will appear as serial port /dev/ttyACM0. You can find out by running Gort's gort scan serial command.


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

Thank you!


For our contribution guidelines, please go to .

Release History

For the release history, please go to .


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