Installing Care-O-bot stacks from source
Directly downloading and installing the sources from git is only recommended for developers. This version is not tested and may not work as expected. |
The Care-O-bot specific part starts at 1.6 Install Git Sources. |
The current development branch from the git sources is developed against electric. |
These instructions only cover installing Care-O-bot-related software on a supported Ubuntu-based machine. If you discover problems installing them on other platforms, please tell us.
Contents
Installation Instructions
Configure your Ubuntu repositories
Configure your Ubuntu repositories to allow "restricted," "universe," and "multiverse." You can follow the Ubuntu guide for instructions on doing this.
Setup your sources.list
Setup your computer to accept software from ROS.org.
Ubuntu 10.04 (Lucid)
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu lucid main" > /etc/apt/sources.list.d/ros-latest.list'
Ubuntu 10.10 (Maverick)
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu maverick main" > /etc/apt/sources.list.d/ros-latest.list'
Ubuntu 11.04 (Natty)
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu natty main" > /etc/apt/sources.list.d/ros-latest.list'
Set up your keys
wget http://packages.ros.org/ros.key -O - | sudo apt-key add -
Install Care-O-bot Release
Install all Care-O-bot stacks (needed to get the dependencies and if overlays are not created for all stack)
sudo apt-get update sudo apt-get install ros-electric-care-o-bot
Environment setup
It's convenient if the ROS environment variables are automatically added to your bash session every time a new shell is launched:
echo "source /opt/ros/electric/setup.bash" >> ~/.bashrc . ~/.bashrc
If you have more than one ROS distribution installed, ~/.bashrc must only source the setup.bash for the version you are currently using.
If you just want to change the environment of your current shell, you can type:
source /opt/ros/electric/setup.bash
Install Git Sources
You can use the githelper script as described below to set up your computer to work with github, to fork stacks on github from the official ipa320 stacks, to clone stacks to your local git repository, and for other git-related tasks.
The stacks currently available are (dependencies exist from top to bottom):
sudo apt-get install git-core curl wget https://github.com/ipa320/setup/raw/master/githelper -N --no-check-certificate chmod 755 githelper ./githelper setup ./githelper clone COMMA_SEPARATED_LIST_OF_PACKAGES
The first question you will be asked is to specify your github's user account. If you want to contribute back your changes to the community, please sign up for a free account at github and specify your username. If you only want to modify the code without contributing back just leave the username blank to checkout a read-only version.
Please update your ROS_PACKAGE_PATH to include ~/git/care-o-bot: Either run the following line on each terminal or add the line at the end of your ~/.bashrc file and source it again.
export ROS_PACKAGE_PATH=~/git/care-o-bot:$ROS_PACKAGE_PATH