Sha256: 6748d8b610a86c38f8147383dd390ef9bee0c51559091e6aaafd5c24c91f1ec6

Contents?: true

Size: 431 Bytes

Versions: 2

Compression:

Stored size: 431 Bytes

Contents

begin
  require 'artoo'
rescue LoadError
  $LOAD_PATH.unshift(File.expand_path(File.join(File.dirname(__FILE__),'..', 'lib')))
  require "artoo"
end

connection :roomba, :adaptor => :roomba, :port => '/dev/tty.usbserial-A2001yzl'
device :roomba, :driver => :roomba, :connection => :roomba
  
work do
  roomba.safe_mode
  roomba.nudge_left
  roomba.nudge_right
  roomba.nudge_right
  roomba.nudge_left
  roomba.sing_jingle_bells
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
artoo-0.3.0 examples/christmas_roomba.rb
artoo-0.2.0 examples/christmas_roomba.rb