Skip to content

workspace_setup

matthewheubach edited this page Jun 1, 2022 · 16 revisions

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