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)

Featured Product

MRPeasy - ERP for Small Manufacturers That Delivers Results

MRPeasy - ERP for Small Manufacturers That Delivers Results

Always know what you have in stock and what you'll need to fulfill orders. Never forget to order parts on time or fail to notice a late delivery from your vendor. Easily create manufacturing orders and schedule them automatically according to resource availability or delivery deadline. Generate accurate cost and lead time estimates and provide customers with quick quotes. Receive notifications when orders are late or inventory levels reach a critical point. Ensure seamless communication between sales, production, warehousing, procurement, administration, and finance. Integrate with popular accounting, CRM, and e-commerce apps. MRPeasy is an ERP software for small manufacturers that gives you all that and more. Our users report a 54% average improvement in the overall performance of their business and a 42% increase in on-time deliveries. Try for free, no credit card needed.