Last active
April 15, 2021 20:35
Star
You must be signed in to star a gist
setup catkin ws
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 | |
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