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
Revolutionize Your PCB Prototyping Assembled in the USA: Fast Turnaround, High Quality
At MacroFab, we understand the challenges engineers face when searching for the perfect partner to bring their visions to life. Traditional overseas prototype factories may offer low-cost solutions but often have hidden compromises. Say goodbye to subpar quality, communication barriers, and frustrating delays - choose MacroFab for a stress-free, reliable, and professional prototyping experience.