-
Notifications
You must be signed in to change notification settings - Fork 0
Using Your Workspace
Nick Walker edited this page Oct 17, 2017
·
2 revisions
Now that you've pulled down our code, you can build it by running
catkin build
cd ~/catkin_ws/src
wstool set <package-name> --<version control system> <remote-repository> [--version-new <remote repository tag/branch>]
wstool update <package-name>
Example:
wstool set segbot --git [https://github.com/utexas-bwi/segbot.git](https://github.com/utexas-bwi/segbot.git) --version-new devel
wstool update segbot
You can directly add a number of repositories to your catkin workspace using a rosinstall file.
Adding all repositories in the rosinstall file to your workspace:
cd ~/catkin_ws/src
wstool merge <rosinstall-file>
wstool update
Examples:
wstool merge /home/piyushk/my-favorite.rosinstall
wstool merge http://farnsworth.csres.utexas.edu/share/kr.rosinstall
Remove the rosinstall entry:
cd ~/catkin_ws/src/
wstool rm `<package-name>
Remove the directory. If you have uncommitted changes, or changes local to only your repository, then they will be lost. Be careful!!!:
rm -rf <package-name>
The next time you rebuild your catkin workspace, this package should be gone.