Calico Ruby

From IPRE Wiki
Jump to: navigation, search

Calico Ruby is implemented using IronRuby.

Many things that you can do in any Ruby, you can do in the Calico environment.

To get started with Graphics:

ruby--> require "Graphics"
ruby--> win = "Hello World"
ruby--> win = "Hello World"
ruby--> win.Show

To get started with using robots with Python:

ruby--> require 'Myro'
ruby--> Myro::init "/dev/rfcomm0"
ruby--> Myro::beep 1.0, 440.0


  • In 2.3.8 we changed CalicoRuby we no longer use compile() b/c it made the local variables innacessible in the shell.