Cylon module for Rapiro
This module provides an adaptor for the Rapiro (http://www.rapiro.com) bipedal robot.
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).
Install the module with:
$ npm install cylon cylon-rapiro
Here is an example of a simple program that makes the Rapiro walk:
var Cylon = require'cylon';// Initialize the robotCylonrobotconnections:rapiro: adaptor: 'rapiro' port: '/dev/ttyUSB0'devices:rapiro: driver: 'rapiro'my'doneWalking' = false ;console.log"forward";every1secondif my'doneWalking' == falsemyrapiroforward;;after10secondsconsole.log"halt";myrapirostop;my'doneWalking' = true;;start;
If you are connected from a Raspberry Pi to the Rapiro board, it will appear as serial port
You can find out by running Gort's
gort scan serial command.
We're busy adding documentation to our web site at http://cylonjs.com/ please check there as we continue to work on Cylon.js
For our contribution guidelines, please go to https://github.com/hybridgroup/cylon/blob/master/CONTRIBUTING.md .
For the release history, please go to https://github.com/hybridgroup/cylon-rapiro/blob/master/RELEASES.md .
Copyright (c) 2013-2015 The Hybrid Group. Licensed under the Apache 2.0 license.