Skip to content

Instantly share code, notes, and snippets.

@AlexandrLucas
Created July 13, 2021 08:35
Show Gist options
  • Save AlexandrLucas/05301e7e462ced942214f2fa07cbe06a to your computer and use it in GitHub Desktop.
Save AlexandrLucas/05301e7e462ced942214f2fa07cbe06a to your computer and use it in GitHub Desktop.
MRC 2021: teaching environment for WSL-ROS 2101d
#! /bin/bash
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
sudo apt update
yes | sudo apt upgrade
yes | sudo apt autoremove
sudo apt autoclean
yes | sudo apt install ros-melodic-moveit ros-melodic-moveit-visual-tools ros-melodic-moveit-commander ros-melodic-joint-trajectory-controller python-catkin-tools
mkdir ~/iiwa_stack_ws
cd ~/iiwa_stack_ws
mkdir src
catkin_init_workspace
git clone https://github.com/IFL-CAMP/iiwa_stack.git ~/iiwa_stack_ws/src/iiwa_stack
git clone https://github.com/ros-planning/moveit_tutorials.git -b master ~/iiwa_stack_ws/src/moveit_tutorials
rosdep install --from-paths src --ignore-src -r -y
catkin build
sh -c "echo \"source ~/iiwa_stack_ws/devel/setup.bash" >> ~/.bashrc"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment