Artoo is a micro-framework for robotics.
It provides a simple, but powerful DSL (domain-specific language) for robots and physical computing.
With Artoo, you can easily connect multiple, different hardware devices together into a single Ruby-powered robotic solution.
Want to use the Go programming language to power your robots? Check out our sister project Gobot (http://gobot.io).
Meet The Code
Artoo’s simple code makes telling robots what to do incredibly simple and fun.
All you need to get started is the
Then hook it up to your robot (in this case, a Sphero):
connection :sphero, adaptor: :sphero, port: '4560' device :sphero, driver: :sphero
And tell it what to do!
work do every(3.seconds) do puts "Rolling..." sphero.roll 60, rand(360) end end