Install KnowRob in a catkin workspace (recommended)

The currently maintained and developed version of KnowRob is based on the 'catkin' buildsystem that has been the main ROS buildsystem since the Groovy distribution. This version is recommended for ROS Hydro and newer.

Installation from source

We have prepared different .rosinstall setup files that you can add to your ROS workspace as described here.

Basic KnowRob installation

rosdep update
cd ~/catkin_ws/src
wstool merge https://raw.github.com/knowrob/knowrob/master/rosinstall/knowrob-base.rosinstall
wstool update
rosdep install --ignore-src --from-paths stacks/
cd ~/catkin_ws
catkin_make

KnowRob system including tutorials

rosdep update
cd ~/catkin_ws/src
wstool merge https://raw.github.com/knowrob/knowrob/master/rosinstall/knowrob-tutorial.rosinstall
wstool update
rosdep install --ignore-src --from-paths stacks/
cd ~/catkin_ws
catkin_make

Developer setup

rosdep update
cd ~/catkin_ws/src
wstool merge https://raw.github.com/knowrob/knowrob/master/rosinstall/knowrob-dev.rosinstall
wstool update
rosdep install --ignore-src --from-paths stacks/
cd ~/catkin_ws
catkin_make

You are now done with the KnowRob installation. Make sure to set up your workspace after the installation and have a look at the Getting started guide for some hints how to proceed.

Note: Alternatively use the 'indigo' branch that contains the latest release for ROS indigo.