Created
December 5, 2014 21:26
-
-
Save mitmul/538315c68c2069f16f11 to your computer and use it in GitHub Desktop.
Prepare ROS libraries and anaconda environment for raspberry-pi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install miniconda | |
cd | |
wget http://repo.continuum.io/miniconda/Miniconda-3.5.5-Linux-armv6l.sh | |
md5sum Miniconda-3.5.5-Linux-armv6l.sh | |
bash Miniconda-3.5.5-Linux-armv6l.sh -b | |
rm -rf Miniconda-3.5.5-Linux-armv6l.sh | |
echo 'export PATH=/home/pi/miniconda/bin:$PATH' >> .bashrc | |
source .bashrc | |
conda install pip --yes | |
conda install ipython --yes | |
conda install numpy --yes | |
# install ROS for raspberry-pi | |
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu wheezy 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 | |
pip install -U rosdep rosinstall_generator wstool rosinstall six vcstools | |
sudo sh -c "cd /home/pi; source .bashrc; 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 -j8 src indigo-ros_comm-wet.rosinstall |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment