Setup
From SD Robotics Club at RoboLink ROS
Workshop and
http://wiki.ros.org/ROSberryPi/Installing%20ROS%20Indigo%20on%20Raspberry%20Pi
This hopes to support installing ROS Jade on current versions of Raspian.
IT IS NOT TESTED!
-
Update the install packages
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release
-sc) main" > /etc/apt/sources.list.d/ros-latest.list'
sudo apt-key adv --keyserver hkp://pool.sks-keyservers.net --recv-key
0xB01FA116
bunch of junk with imported: 1 at the end. {Ed: Or try:
wget https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -O
- | sudo apt-key add -
}
-
Make sure everything is up to date with:
sudo apt-get update
-
Install the dependancies
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
(note on Raspbian Wheezy you may need to add python-argparse
after yaml.)
-
sudo rosdep init
-
rosdep update
-
Setup the catkin build system:
mkdir ~/ros_catkin_ws
cd ~/ros_catkin_ws
rosinstall_generator ros_comm --rosdistro jade --deps --wet-only --tar >
jade-ros_comm-wet.rosinstall
wstool init -j8 src jade-ros_comm-wet.rosinstall
-
Resolve and install dependencies
rosdep install --from-paths src --ignore-src --rosdistro jade
-y
-
Build the catkin workspace:
./src/catkin/bin/catkin_make_isolated --install
-DCMAKE_BUILD_TYPE=Release
you should find setup.bash in ~/ros_catkin_ws/install_isolated
-
echo "source ~/ros_catkin_ws/install_isolated/setup.bash" >>
~/.bashrc
-
source ~/.bashrc