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-wstool
andpython-catkin-tools
installed (this guide uses command from catkin_tools, i.e.catkin build
instead ofcatkin_make
)
Open a terminal without any
setup.bash
sourced, i.e.env | grep -i
ros should print nothing (if not useunset
or edit.bashrc
file).Clone
ros-stable-ws-setup
Note: for zsh
users, source setup.zsh
instead of setup.bash
for all workspaces
Install stable workspace
Run repositories.debs
repositories.debs
The 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
. Thewstool
command should create thesrc
directory with threemas_*
repositories.
Edit the
repositories.debs
under themas_domestic_robotics
directory:Comment out
rosinstall .. /opt/ros/indigo repository.rosinstall
line (these repositories will be installed with the stable workspace).ros-indigo-cob-extern
inpackagelist
will cause errors withapt
installation (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 config
in$STABLE_WORKSPACE_PATH
to check workspace configuration. The output should have the correctExtending
andInstall Space
paths:
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 correctExtending
path:
Last updated
Was this helpful?