This package contains code snippets for everday tasks and demonstrates the usage of some useful c++ tools.
sudo apt-get install python-pip
sudo pip install catkin-tools
sudo apt-get install python-rosinstall
cd ~
mkdir -p catkin_ws/src
cd ~/catkin_ws/src
rosws init
// Add repositories to workspace
rosws set Schweizer-Messer https://github.com/ethz-asl/Schweizer-Messer --git
// ... and more
rosws update
catkin config
Add setup.bash to your bashrc:
echo 'source ~/catkin_ws/devel/setup.bash' >> ~/.bashrc
You have to be in your catkin workspace to execute the catkin build
command:
cd ~/catkin_ws
catkin build <package_name>
You can set up a convenient alias in your .basrc to avoid the required directory change. Add this line to your .bashrc:
alias catkin_build='catkin build --workspace /path/to/your/catkin_ws'
catkin build --force-cmake <package_name> -DCMAKE_BUILD_TYPE=Release
catkin build --catkin-make-args run_tests
Student templates for the presentation and the latex report can be found here.
Please ask your supervisor for the evaluation criteria of your work.