Skip to content

Installation

Yoshua Nava edited this page Sep 5, 2018 · 14 revisions

Dependencies

sudo apt-get install ros-$ROS_DISTRO-amcl \
                     ros-$ROS_DISTRO-gmapping \
                     ros-$ROS_DISTRO-interactive-marker-twist-server \
                     ros-$ROS_DISTRO-lms1xx \
                     ros-$ROS_DISTRO-map-server \
                     ros-$ROS_DISTRO-puma-motor-driver \
                     ros-$ROS_DISTRO-robot-localization \
                     ros-$ROS_DISTRO-rosserial \
                     ros-$ROS_DISTRO-rosserial-server \
                     ros-$ROS_DISTRO-serial \
                     ros-$ROS_DISTRO-teleop-twist-joy

Create the ridgeback ROS Workspace

Run the following commands in a terminal:

mkdir -p ridgeback_depends_ws/src
cd ridgeback_depends_ws/src
catkin_init_workspace
cd ..
catkin_make
echo "export RIDGEBACK_WS='$(pwd)'" >> ~/.bashrc
echo "source $(pwd)/devel/setup.bash" >> ~/.bashrc
bash

Clone and build the ridgeback ROS package

bash
cd $RIDGEBACK_WS/src
git clone https://github.com/kth-ros-pkg/ridgeback.git
cd $RIDGEBACK_WS/
catkin_make -DCMAKE_BUILD_TYPE=Release

Checkout recent changes in the ridgeback package:

Warning: this will erase any changes you have made to the original ridgeback package. Hence, save any changes made to the repo before running the commands shown below.

cd $RIDGEBACK_WS
rm -rf build/ devel/
cd src/
rm -rf ridgeback
git clone https://github.com/kth-ros-pkg/ridgeback.git
cd $RIDGEBACK_WS
catkin_make -DCMAKE_BUILD_TYPE=Release

Clone this wiki locally