setup-stable
{: .notice--danger} This page is out of date. To set up the stable workspace, please follow the README in b-it-bots/dev-env
Setup And Install A Seperated Workspace for Stable Repositories
Motivation: move repositories which are rarely modified to a separated location to avoid building them everytime with your $ROS_WORKSPACE.
Presiquisites
Clean ROS install
python-wstoolandpython-catkin-toolsinstalled (this guide uses command from catkin_tools, i.e.catkin buildinstead ofcatkin_make)
sudo apt install python-wstool python-catkin-toolsOpen a terminal without any
setup.bashsourced, i.e.env | grep -iros should print nothing (if not useunsetor edit.bashrcfile).Clone
ros-stable-ws-setup
export WS_SETUP_PATH=/path/to/my/ws/setup # i.e. ~/ros-ws-setup
git clone gitgate@mas.b-it-center.de:mnguy12s/ros-stable-ws-setup.git $WS_SETUP_PATHNote: for zsh users, source setup.zsh instead of setup.bash for all workspaces
Install stable workspace
Run repositories.debs
repositories.debsThe easiest way to install all packages required by the @Home repositories is to execute the repositories.debs file in mas_domestic_robotics repository. This however requires some modification to the script in order to avoid conflict with the stable workspace setup:
Clone the MAS repositories first to get the
repositories.debs. Thewstoolcommand should create thesrcdirectory with threemas_*repositories.
Edit the
repositories.debsunder themas_domestic_roboticsdirectory:Comment out
rosinstall .. /opt/ros/indigo repository.rosinstallline (these repositories will be installed with the stable workspace).ros-indigo-cob-externinpackagelistwill cause errors withaptinstallation (messages about overwriting some README files), so comment it out or resolve this in some other way.
Execute
repositories.debs
Configure and build stable workspace
Configure stable workspace
Run
catkin configin$STABLE_WORKSPACE_PATHto check workspace configuration. The output should have the correctExtendingandInstall Spacepaths:
If workspace configuration is okay, build stable workspace by running
catkin build
Configure and build MAS workspace
This will be your development workspace with the
mas_*repositories.
Check workspace configuration by running
catkin config, the output should have the correctExtendingpath:
Last updated
Was this helpful?