RoCKIn@Home Referee, Scoring and Benchmarking Box
Switch branches/tags
Clone or download

RoCKIn@Home Referee, Scoring and Benchmarking Box

⚠️ This version of the RSBB is deprecated. Use the new version:

This repository contains the RoCKIn@Home Referee, Scoring and Benchmarking Box.

The repository RoAH RSBB Comm from is included as a git submodule.

⚠️ Please remember to always update right before the competitions!

git pull
git submodule update --init


You need to have installed a C++11 compiler, CMake, Boost, Protobuf and OpenSSL.

If you are using Ubuntu, install the dependencies with:

sudo apt-get install build-essential cmake libboost-all-dev libprotoc-dev protobuf-compiler libssl-dev

Furthermore, you need to use at least ROS Hydro, follow the instructions at .

This was tested with Ubuntu 12.04.5 LTS (Precise Pangolin) and 14.04.1 LTS (Trusty Tahr).

This package depends on the roah_devices and the rockin_benchmarking packages, which must be available in the Catkin workspace.

For rockin_benchmarking to run, it is also necessary to install the Levenshtein module for Python:

sudo easy_install python-Levenshtein


After git clone and after every git pull, please do:

git submodule update --init

Compile as a normal ROS package in your Catkin workspace. Make sure roah_devices is available.


You can run the full RSBB including the Core, the Interface and the devices node with:

roslaunch roah_rsbb roah_rsbb.launch

For a test with dummy home devices use:

roslaunch roah_rsbb roah_rsbb_dummy.launch rsbb_host:= --screen

The rsbb_host parameter should be set to the Bcast of the interface you want to use, as reported by ifconfig. Do not run the RSBB in the same computer as the client (robot).

It may be necessary to delete the rqt cache for the new components to appear:

rm ~/.config/

For testing of FBM1 and FBM2 without a MOCAP system and the benchmarking modules run the following in parallel with the RSBB:

roslaunch roah_rsbb dummy_benchmarking_module.launch

Securing the RSBB

Make sure that you run these commands in whatever computer runs the RSBB:

sudo iptables -A INPUT -i lo -p tcp -m tcp --dport 11311 -j ACCEPT
sudo iptables -A INPUT -p tcp -m tcp --dport 11311 -j DROP

You might add this to /etc/rc.local, before the exit command.

To be able to connect from other computers safely, you must install the openssh-server package:

sudo apt-get install openssh-server

Make sure the ROS_IP variable is set correctly.

Connecting from remote computers

To launch RSBB clients in other computers, you must have the openssh-server package installed in the server and be running the RSBB. Then, in the remote computer do:

ssh -L rockin@

In this example, the user is named rockin and the server is at The at the beginning is mandatory.

Make sure the ROS_IP variable is set correctly.

Then, just run the client as if the ROS master were local:

roslaunch roah_rsbb roah_rsbb_client.launch