Skip to content

workspace_setup

Brian Bingham edited this page Jun 3, 2022 · 16 revisions

Docker Option

If you use the dockwater project to generate a docker development image, use the oswarm-dev branch which extends main with specific dependencies for this project.

Setup Workspace

Make workspace

mkdir -p sandwich_ws/src

Clone the optical_swarm repo

cd sandwich_ws/src
git clone [email protected]:Field-Robotics-Lab/optical_swarm.git

For now, checkout branch bsb/vcs_support to source vcs input file (once PR is merged, delete this step)

cd sandwich_ws/src/optical_swarm
git checkout bsb/vcs_support
cd ~/sandwich_ws/src

Use vcstool to clone the source dependencies. (If not already installed - follow these instructions. )

vcs import --input optical_swarm/repos/repos.yaml --skip-existing

Once the dependencies are imported, checkout the main optical_swarm branch (delete this step after PR is merged)

cd ~/sandwich_ws/src/optical_swarm
git checkout main

Build and Source

Note: the apriltag repo is not a catkin_package, so the catkin_make_isolated command is used.

cd ~/sandwich_ws
catkin_make_isolated
source devel_isolated/setup.bash 
Clone this wiki locally