Setup your environment


To be able to run Artoo, you first need to install a Ruby interpreter.

Install RVM

Follow the instructions below or go to for more detailed instructions.

Run the following command in a terminal

\curl -L | bash -s stable

Once the installation is complete, close your terminal and open a new one.

To make sure your RVM is installed correctly, run the following command:

type rvm | head -n 1

and you should see the following output:

rvm is a function

Install Ruby 2.1.1

If you are a first time user, we recommend you install this version.

With RVM installed, just run this command:

rvm install 2.1.1

Or install Rubinius 2.1.1

For maximum concurrency, like when you need to control multiple robots, microcontrollers or devices at the same time, we recommend using Rubinius 2.1.1 or higher.

With RVM installed, just run this command:

rvm get head && rvm install rbx-2.1.1 --1.9
rvm install rbx-2.1.1

Other versions supported

Ruby 1.9.3+, JRuby 1.7.4+, and Rubinius 2.0+

Install Artoo

Once you have Ruby installed, you can install the Artoo gem with this command:

gem install artoo

Then install the gems required by the hardware you want to use. For example, if you wanted to use an Xbox 360 controller to fly an ARDrone:

gem install artoo-joystick
gem install artoo-ardrone

Writing your robot code

Now you are ready to write your own code.