Guides

A Guide by Humans, for Humans.

Console

Artoo includes Robi, a console based on Pry (http://pryrepl.org/). This allows you to interactively debug and control your robot.

Just type robi on your terminal to test it.

Example:

$ robi ./examples/hello.rb
  I, [2013-05-21T18:09:05.179630 #8752]  INFO -- : Registering connection 'loop'...
  I, [2013-05-21T18:09:05.180681 #8752]  INFO -- : Preparing work...
robi> start
  Starting main robot...
  I, [2013-05-21T18:09:37.086550 #8752]  INFO -- : Initializing connection loop...
  I, [2013-05-21T18:09:37.092231 #8752]  INFO -- : Starting work...
  I, [2013-05-21T18:09:37.092691 #8752]  INFO -- : Connecting to 'loop' on port '#<Artoo::Port:0x104e4>'...
robi> hello
  hello
robi> stop
  Stopping robots...
robi> exit
  D, [2013-05-21T18:09:53.507709 #8752] DEBUG -- : Terminating 7 actors...
  D, [2013-05-21T18:09:53.508622 #8752] DEBUG -- : Shutdown completed cleanly