Last active
April 15, 2021 20:35
-
-
Save PeterMitrano/fd63dc448143d81ea9ef0b86a5574d68 to your computer and use it in GitHub Desktop.
setup catkin ws
This file contains hidden or 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