the Robot Construction Kit
This page explains how to install Rock and where to look for more information (tutorials, …)
This section lists the operating systems where Rock is well tested, is untested and whose status is unknown. For well tested operating systems, a build server makes sure that Rock builds fine, and it is known to be actively used. Untested operating systems have had users (so, it did work at some point), but it is unknown whether it is still being actively used. Finally, unknown status operating systems are OSes where Rock should work, but we have had no known report of its success or failure.
|testing or unstable|
|Last known working version end of 2011|
|Last known working version end of 2010|
|Other Linux distributions||Should work fine. No osdeps.|
|Mac OSX||Known to have problems. No osdeps.|
Make sure that the Ruby interpreter is installed on your machine. Rock requires ruby 1.9.2 or higher, which on Debian and Ubuntu are provided by the ruby1.9.1 package.
To build the base system (base packages + toolchain, but no libraries/components), use this bootstrap.sh script. Save it in the folder you just created. For other options, see below.
There is an important note for long-term Orocos users. See the red box below.
In a console, run
source it in your current console
but also add it to your .bashrc: append the following line at the end of $HOME/.bashrc
to build all of Rock, use this bootstrap.sh instead of the one listed above. ‘'’This is really meant for continuous integration servers’’’. It is going to build all the packages that are defined within Rock, which is probably not what you want. You probably want to install base system and then cherry-pick the packages you want. Have a look in the package directory, and add the package names to the layout section in autoproj/manifest. For instance, if you want to get the Xsens IMU component, the layout section should look like:
layout: - rock.base - rock.toolchain - drivers/orogen/xsens_imu
Important for existing Orocos users The development workflow in Rock currently disables the Orocos deployer and the RTT scripting language by default, as they are quite expensive on the build times. Select “yes” at the “compatibility with OCL” question during the build to reenable this.
Once Rock is installed, you can update your installation by going into the root of the installation folder and do
You might have to reload the env.sh script after that as well, to export updated environment variables into your current shell. Simply opening a new console will do the trick (given you have added sourcing env.sh to your .bashrc).