Skip to content

Instantly share code, notes, and snippets.

@mhaberler
Created January 5, 2016 20:52
Show Gist options
  • Save mhaberler/621bc9df63a8f5800b64 to your computer and use it in GitHub Desktop.
Save mhaberler/621bc9df63a8f5800b64 to your computer and use it in GitHub Desktop.
installing ROS indigo ROS-comm on beaglebone jessie
# derived from http://wiki.ros.org/ROSberryPi/Installing%20ROS%20Indigo%20on%20Raspberry%20Pi
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu jessie main" > /etc/apt/sources.list.d/ros-latest.list'
wget https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -O - | sudo apt-key add -
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install python-pip python-setuptools python-yaml python-distribute python-docutils python-dateutil python-six
sudo pip install rosdep rosinstall_generator wstool rosinstall
# assorted deps which were found to be MIA along the way,
# no idea why those are not caught by rosdep install and related incantations:
sudo apt-get install \
libconsole-bridge-dev liblz4-dev checkinstall cmake \
python-empy python-nose libbz2-dev \
libboost-test-dev libboost-dev libboost-program-options-dev \
libboost-regex-dev libboost-signals-dev \
libtinyxml-dev libboost-filesystem-dev libxml2-dev \
libgtest-dev
sudo rosdep init
rosdep update
mkdir ~/ros_catkin_ws
cd ~/ros_catkin_ws
rosinstall_generator ros_comm --rosdistro indigo --deps --wet-only --exclude roslisp --tar > indigo-ros_comm-wet.rosinstall
wstool init src indigo-ros_comm-wet.rosinstall
# roscpp fails with oom error
# I added 4GB USB flash as swap space
rosdep install --from-paths src --ignore-src --rosdistro indigo -y -r --os=debian:jessie
sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/indigo
# that's it.
# add to .bashrc as seen fit:
# source /opt/ros/indigo/setup.bash
# needed when mDNS/Avahi is used:
# export ROS_HOSTNAME=`hostname`.local
# no need for lisp bindings
# export ROS_LANG_DISABLE=genlisp
#cd catkin_ws/
#. devel/setup.bash
@321rose123
Copy link

Hi tomek242, have you been able to resolve this? I got the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment