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)

Comments (0)

This post does not have any comments. Be the first to leave a comment below.


Post A Comment

You must be logged in before you can post a comment. Login now.

Featured Product

Stäubli – Robotic tool changers

Stäubli - Robotic tool changers

Stäubli offers a complete range of robotic tool changing systems for payloads of 20 kg to 1,530 kg and torsion moments from 30 to 12,500 Nm, designed for use in virtually every industry. The tool changers adapt to customer-specific applications with different modules for media, data, power, etc. The new MPS 130 robotic tool changer is powerful, very robust, and designed for a huge range of applications. It features multiple couplings for air/vacuum connections, and can be equipped with connectors for data and electrical transmission. Very compact dimensions, with a coupled height of only 67 mm, make the MPS 130 the first choice for applications requiring a high number of mating cycles.