05. ROS Guide
Anastasios Karasakalidis edited this page Oct 14, 2013
·
5 revisions
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu precise main" > /etc/apt/sources.list.d/ros-latest.list' wget http://packages.ros.org/ros.key -O - | sudo apt-key add - sudo apt-get update
sudo apt-get install ros-groovy-desktop-full
sudo rosdep init rosdep update
echo "source /opt/ros/groovy/setup.bash" >> ~/.bashrc source ~/.bashrc
if you just want to change the environment of your current shell, you can type:
source /opt/ros/groovy/setup.bash
sudo apt-get install python-rosinstall python-rosdep sudo apt-get install python-setuptools ogre-tools ros-groovy-diagnostics-monitors sudo apt-get install ros-groovy-rxtools ros-groovy-pr2-* ros-groovy-client-rosjava-jni sudo apt-get install ros-groovy-openni*
Git clone the follow Packages
git clone https://github.com/ipa320/cob_robots/tree/groovy_release_candidate git clone https://github.com/ipa320/cob_simulation/tree/groovy_release_candidate git clone https://github.com/ipa320/cob_environments/tree/groovy_release_candidate git clone https://github.com/ipa320/schunk_modular_robotics/tree/groovy_release_candidate
Went to your Git Folder
cd /git/care-o-bot/
edit the ROS Setup Bash
nano ~/.bashrc #add the following: source /opt/ros/groovy/setup.bash export ROS_PACKAGE_PATH=~/git/care-o-bot:$ROS_PACKAGE_PATH
Save, exit and load the bashrc
source ~/.bashrc
Now install the Packages
rosmake cob_robots rosmake cob_simulation rosmake cob_environments rosmake schunk_modular_robotics
rosdep update