A template repo. So that I don't have to repeat the same process every time I want to code a ROS node.
You will need a Python2 virtualenv:
sudo pip2 install -U virtualenv virtualenvwrapperOn Ubuntu do:
echo "# Virtual Environment Wrapper" >> ~/.bashrc
echo "source /usr/local/bin/virtualenvwrapper.sh" >> ~/.bashrc
source ~/.bashrcAnd on Mac:
echo "# Virtual Environment Wrapper" >> ~/.bash_profile
echo "source /usr/local/bin/virtualenvwrapper.sh" >> ~/.bash_profile
source ~/.bash_profileThen finally:
mkvirtualenv <project_name>-py2 -p python2
workon <project_name>-py2Where once activated you install from the repo:
pip install -r requirements.txtClone this repository into ~/catkin_ws/src and run catkin build from ~/catkin_ws.