Different branches contain different deployments, as indicated by branch name. PLEASE DO NOT MERGE DEPLOYMENT-SPECIFIC BRANCHES INTO EACH OTHER! They are separated to simplify the workspace complexity for each deployment (as well as reduce clone/pull overhead), so doing this would defeat the purpose.
Create a new workspace directory
mkdir ws && cd ws
Clone this branch into the src
directory.
git clone --recurse-submodules -b robot https://github.com/Cardinal-Space-Mining/lance-2025 src
If you forgot to clone recursively:
git submodule update --init --recursive
-
Install ROS2 if not already done (we are using Jazzy for 2024-2025)
-
Use rosdep to install dependencies
- Initialize rosdep if not already done:
sudo rosdep init
- Update and install:
rosdep update rosdep install --ignore-src --from-paths . -r -y
- Check submodule READMEs to install any other necessary deps
- Initialize rosdep if not already done:
-
Build with colcon
colcon build --symlink-install <--executor parallel> <--event-handlers console_direct+> source install/setup.bash
See the Cardinal Perception README for details on fixing vscode.