Skip to content

Instantly share code, notes, and snippets.

@PeterMitrano
Last active April 15, 2021 20:35
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save PeterMitrano/fd63dc448143d81ea9ef0b86a5574d68 to your computer and use it in GitHub Desktop.
setup catkin ws
#!/bin/bash
source /opt/ros/noetic/setup.bash
mkdir catkin_ws
cd catkin_ws
mkdir src
cd src
sudo apt install python3-wstool python3-osrf-pycommon python3-catkin-tools
catkin init
# python/pip
wget https://raw.githubusercontent.com/PeterMitrano/ros_workspace_config/master/requirements.txt
virtualenv --system-site-packages venv
source venv/bin/activate
pip install -r requirements.txt
# get packages and build
wget https://raw.githubusercontent.com/UM-ARM-Lab/documentation/master/rosinstalls/peter-20.04/.rosinstall?token=AA6TGETFGQO5NJAQIC54NITAFRBX2 -O .rosinstall
wstool update
rosdep update
rosdep install -y -r --from-paths . --ignore-src
cd ..
catkin config -DOMPL_BUILD_PYBINDINGS=ON -DCATKIN_ENABLE_TESTING=OFF -DCMAKE_BUILD_TYPE=Release --merge-devel
catkin build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment