Artoo: Ruby on Robots

From Artoo, a ruby framework, that supports 15 platforms including ARrone, Crazyflie, Sphero, and Arduino:

Modular Example

require 'artoo/robot'

SPHEROS = ["4567", "4568", "4569", "4570", "4571"]

class SpheroRobot < Artoo::Robot
  connection :sphero, :adaptor => :sphero
  device :sphero, :driver => :sphero

  work do
    every(3.seconds) do
      sphero.roll 90, rand(360)
    end
  end
end

robots = []
SPHEROS.each {|p|
  robots << SpheroRobot.new(:connections => 
                              {:sphero => 
                                {:port => p}})
}

SpheroRobot.work!(robots)

more information (here) and at (github)

Records 1 to 1 of 1

Featured Product

E4T & S4T Miniature Optical Kit Encoders - Available in CPRs up to 500

E4T & S4T Miniature Optical Kit Encoders - Available in CPRs up to 500

High resolution. Limited space. Not a problem for our latest miniature encoders that provides precise feedback and is easy to install within smaller-sized applications. Now available in 400 and 500 CPRs. Coming in at about the size of a nickel, we've added our proprietary Opto-ASIC sensor technology and improved quadrature for even greater motion control. Product Features: 10 resolutions up to 360 CPR, plus new 400 and 500 CPR resolution; 288 configurations available, including single and differential output; Compact form factor • 0.866 inch (in) / 22.00 millimeter (mm) package outside diameter • 0.446 in / 11.33 mm package height • Fits NEMA 8, 11, 14 and 17 motors; Simple and efficient assembly process • Four-piece construction • Push-on hub disk design, patent pending; 100 kilohertz frequency response; Shafted version up to 0.25 in / 6.25 mm diameter.