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

Allied Motion - New MFH170i Housed Brushless Torque Motor Has Integrated Servo Drive and Optical Encoder

Allied Motion - New MFH170i Housed Brushless Torque Motor Has Integrated Servo Drive and Optical Encoder

Allied Motion's Megaflux MFH170i series of 170 mm (6.7 in) diameter housed brushless torque motors consists of a high performance brushless DC torque motor, a digital servo drive, and an optical encoder, all integrated into a rugged machined aluminum housing with robust duplex bearings. The MFH0170i series features a 63.5 mm (2.5 in) large-bore through shaft, and is characterized by a very high torque-to-inertia ratio. There are three stack lengths in the series with peak torque ranging from 8.5 up to 16.9 Nm (75 up to 150 lb-in). The standard winding voltage is 48 V. And to ease the hassle of long leadtimes for prototypes, the new MFH170i is now available through our QuickShip program.