Skip to content

Autoware Core source installation guide#

Prerequisites#

Item Requirement
OS Ubuntu 22.04
ROS ROS 2 Humble (For ROS 2 system dependencies, refer to REP-2000)
Git Registering SSH keys to GitHub is preferable.

How to set up#

  1. Install dependent tools.

    sudo apt -y update
    sudo apt -y install git python3-colcon-common-extensions python3-rosdep
    sudo rosdep init
    
  2. Create workspace and clone repository into it.

    mkdir -p $HOME/autoware_core_workspace/src
    cd $HOME/autoware_core_workspace/src
    git clone https://github.com/autowarefoundation/autoware_core.git
    
  3. Install dependent ROS packages.

    cd $HOME/autoware_core_workspace
    sudo apt update && sudo apt -y upgrade
    rosdep update
    rosdep install -y --from-paths src --ignore-src --rosdistro humble
    
  4. Build the workspace.

    cd $HOME/autoware_core_workspace
    source /opt/ros/humble/setup.bash
    colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release