Last active
May 7, 2019 05:29
-
-
Save jmsktm/3c4ca9b2ad546773ee5079fd035ff3a0 to your computer and use it in GitHub Desktop.
Script to setup Mariam's repo
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
echo 'deb http://http.debian.net/debian wheezy-backports main' > /etc/apt/sources.list.d/wheezy-backports-main.list | |
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash | |
apt -y install git-lfs | |
#Setup base paths | |
WORKSPACE_PATH="/home/workspace/capstone_ws" | |
PROJECT_NAME="T2-CapstoneProject" | |
# Setup the base repository | |
rm -rf $WORKSPACE_PATH | |
mkdir -p $WORKSPACE_PATH && cd $WORKSPACE_PATH | |
git clone https://github.com/iammsg/T2-CapstoneProject.git $PROJECT_NAME | |
cd $PROJECT_NAME | |
# Install some required packages etc. | |
apt update | |
apt install -y ros-kinetic-dbw-mkz-msgs | |
pip install --upgrade pip | |
apt -y install python-rosdep | |
apt -y install python-catkin-pkg | |
# Running this multiple times helped deal with the flakiness of catkin_make failures | |
pip install catkin-pkg-modules | |
pip install catkin-pkg-modules | |
pip install catkin-pkg-modules | |
pip install catkin-pkg-modules | |
pip install catkin-pkg-modules | |
pip install -r requirements.txt | |
apt update | |
cd ros | |
rosdep install --from-paths src --ignore-src --rosdistro=kinetic -y | |
# Build and run the catkin project. | |
catkin_make | |
source devel/setup.bash | |
roslaunch launch/styx.launch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment