Commit 107127dc authored by Gaël Écorchard's avatar Gaël Écorchard
Browse files

Add setup_local_melodic_workspace

This allows to do the same installation steps as for the singularity
image but locally with all packages as source packages.
parent f2451f97
#!/bin/bash
workspace=$(pwd)
read -p "Using ${workspace} as ROS workspace, are you sure? " -n 1 -r
echo # (optional) move to a new line
if [[ ! $REPLY =~ ^[Yy]$ ]]
then
exit
fi
sudo apt-get update -y && sudo apt-get dist-upgrade -y
tmp="$(mktemp -d)"
cd "${tmp}"
git clone https://gitlab.fel.cvut.cz/robolab/deploy.git
cd deploy
scripts/install_librealsense
scripts/install_gazebo
xargs -a config/robolab_melodic.apt apt-get install -y
ros=melodic \
rosdep=y \
rosinstall="$(pwd)/config/robolab.rosinstall $(pwd)/config/robolab_melodic.rosinstall $(pwd)/config/robolab_aro_melodic.rosinstall $(pwd)/config/robolab_mkr_melodic.rosinstall" \
scripts/setup_catkin_workspace "${workspace}"
apt-get clean
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment