Autoware uses multiple Git repositories managed through a meta-repository approach.
The autoware repository itself does not contain the full source code. Instead, it references many separately maintained repositories.
To manage these repositories, Autoware uses vcs2l (vcs), which allows you to clone and keep multiple repositories in sync using manifest files under repositories folder.
repositories/autoware.repos➡️ The manifest file that lists essential Autoware repositories and their versionssrc/(here) ➡️ The directory where all Autoware source repositories will be cloned
⭐ Check the 🔗 Repository structure and versioning documentation for more details.
⭐ Check the 🔗 Installation guide for detailed setup instructions.
Here is a brief summary of the steps:
# Navigate to the repository root
cd autoware
# Clone the Autoware source code into src/
vcs import src < repositories/autoware.reposThis command will clone and check out the correct versions as defined in autoware.repos
Note Make sure
vcs2lis installed before running this command:sudo apt install python3-vcs2l
In the future, to update all source repositories to their latest versions as defined in the manifest file, run:
vcs pull src