Last active
March 21, 2017 12:13
-
-
Save darkseed/331a8e603c7034750cda65906d62463f to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/bash | |
ROS_DISTRO=${ROS_DISTRO:-kinetic} | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew update | |
brew install cmake | |
brew tap ros/deps | |
brew tap osrf/simulation | |
brew tap homebrew/versions | |
brew tap homebrew/science | |
sudo -H pip install -U -I awsebcli | |
sudo -H pip install git+https://github.com/vcstools/wstool | |
sudo -H pip install -U -I rosdep | |
sudo -H pip install rosinstall rosinstall_generator rospkg catkin-pkg Distribute sphinx | |
mkdir -p ~/ros_ws/{src,build,devel,install,logs} | |
cd ~/ros_ws | |
rosinstall_generator desktop_full --rosdistro ${ROS_DISTRO} --deps --tar > desktop_full-${ROS_DISTRO}.rosinstall | |
wstool init -j4 src desktop_full-${ROS_DISTRO}.rosinstall | |
# Package dependancies | |
#rosdep install --from-paths src --ignore-src --rosdistro ${ROS_DISTRO} -y --as-root pip:no --skip-keys=python-qt-bindings-qwt5 | |
catkin config --install --install-space /opt/ros/kinetic --cmake-args \ | |
-DCATKIN_ENABLE_TESTING=1 \ | |
-DCMAKE_BUILD_TYPE=Release \ | |
-DPYTHON_LIBRARY=$(python -c "import sys; print sys.prefix")/lib/libpython2.7.dylib \ | |
-DPYTHON_INCLUDE_DIR=$(python -c "import sys; print sys.prefix")/include/python2.7 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment