VCS can be used to clone multiple projects from a list of repositories.
To install, run
sudo apt install python3-vcstool
- Create
YAML
type file to list repositores. See repos.yml - Clone the content
mkdir -p vcs_tool_example_ws/src
wget https://raw.githubusercontent.com/h2020faros/vcs_tool_example/main/repos.yml -P vcs_tool_example_ws
vcs import vcs_tool_example_ws/src < vcs_tool_example_ws/repos.yml
- Check everything got cloned
ls vcs_tool_example_ws/src
- Possibly install dependencies via rosdep
cd vcs_tool_example_ws
rosdep install --from-paths src --ignore-src -r -y
- Build
colcon build