Setting up Nimbro

By gaganyatri

Install Using Docker

Prerequisites : Install docker .

  1. From Existing binary
docker run --name nimbro -it sachinsshetty/nimbro:latest /bin/bash
  1. Build docker image from DockerFile
a. cd src

b. docker build ---

Install in RaspberryPi (UnderDevelopment)

Install in Linux

  1. Download Ubuntu 14.04 LTS
  2. Kernel- Xenial Xerius -

    sudo apt-get install linux-generic-lts-xenial

  3. ROS Indigo
sudo sh -c 'echo "deb $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'

sudo apt-key adv --keyserver hkp:// --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116

sudo apt-get update

sudo apt-get install ros-indigo-desktop-full

sudo rosdep init

rosdep update

sudo apt-get install ros-indigo-rqt-rviz

sudo apt-get install ros-indigo-joy

  1. The QGLViewer library:

    sudo apt-get install libqglviewer-dev

  2. GNU Scientific Library (GSL):

    sudo apt-get install libgsl0-dev

  3. Controllers for Gazebo
       sudo apt-get install ros-indigo-gazebo-ros-control
       sudo apt-get install ros-indigo-ros-controllers
       sudo apt-get install ros-indigo-controller-manager
       sudo apt-get install ros-indigo-rqt-controller-manager
  4. Vision packages
       sudo apt-get install v4l-utils v4l2ucp v4l-conf
       sudo add-apt-repository ppa:pj-assis/ppa
       sudo apt-get update
       sudo apt-get install guvcview
  5. Python deps
       sudo apt-get install sshpass
       sudo apt-get install python-pip python-dev build-essential
       sudo pip install --upgrade pip
       sudo pip install --upgrade virtualenv
     ## Failed   sudo pip install --upgrade --no-deps --force-reinstall pexpect
       sudo pip install termcolor
  6. ncurses Library:

    sudo apt-get install libncurses5-dev

  7. x264 Library:

    sudo apt-get install libx264-dev

  8. GCC ARM Compiler:

    sudo apt-get install gcc-arm-none-eabi

  9. Doxygen Documentation System:

    sudo apt-get install doxygen

  10. Utilities (optional, choose relevant ones):
      sudo apt-get install curl tshark ssh screen
      sudo apt-get install git git-gui gitk qgit
      sudo apt-get install joe vim nano kwrite kdiff3 colordiff kompare
      sudo apt-get install gdb valgrind tree htop

Additional installs for errors : during “nimbro make”. Raised a github issue to fix the error.


create a pull request to generate the docs from doxygen.

sudo apt-get install libcholmod2.1.2 libsuitesparse-metis-dev
sudo apt-get install ros-indigo-libg2o


Place the following into your .bashrc:

source /opt/ros/indigo/setup.bash
source ~/NimbRo-OP/src/nimbro/scripts/ # Or alternate path
export NIMBRO_ROBOT_VARIANT=nimbro_op_hull

Clone repository

git clone ~/NimbRo-OP

System setup

The robotcontrol node needs realtime permissions to run reliably. Create a file /etc/security/limits.d/nimbro.conf
with contents (replace USER with your username):

*    hard rtprio 0
*    soft rtprio 0
USER hard rtprio 20
USER soft rtprio 20

You will need to log out and in again to load the security settings. Alternatively, you can use the following to emulate the login:

sudo -i -u user

//### failed as : -bash: /home/sachin/NimbRo-OP/devel/setup.bash: No such file or directory

If you want to set up udev rules for devices you want to use, then refer to:



For installation and deployment of the required files to the robots, a special installation folder is required:

sudo mkdir -p /nimbro

sudo chown $USER /nimbro

Simulation is failing on VMbox, need to check for solutions .


roslaunch nimbro_op_gazebo nimbro_op.launch   
starts gazebo, creates the world and spawns the robot.
roslaunch launch gazebo_robot_standing_cap.launch   
starts the robotcontrol node and connects to the virtual robot.

Additonal Steps followed to make gazebo running

following steps from

sudo sh -c 'echo "deb `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list'

wget -O - | sudo apt-key add -

sudo apt-get update

sudo apt-get install libsdformat1 libsdformat-dev

sudo apt-get install libsdformat-dev

sudo apt-get install gazebo2

sudo apt-get install ros-indigo-gazebo-ros

sudo apt-get install ros-indigo-gazebo-ros-pkgs ros-indigo-gazebo-ros-control
If gazebo fails in VM, then execute below command and execute gazebo.

echo "export SVGA_VGPU10=0" >> ~/.bashrc


a. Nimbro Installation online docs

b. StepFiles

c. nimbroOp

d. ROS-Indigo

e. gazebo 2.2

f. VMError

g. [gazeboinstall](