Skip to content

Latest commit

 

History

History
145 lines (99 loc) · 5.83 KB

README.md

File metadata and controls

145 lines (99 loc) · 5.83 KB

autoware

This is one of the prototype repositories for Autoware Core/Universe that AWF agreed to create in the TSC meeting on 2021/11/17. Tier IV and AWF members are working in tier4/proposal branch for showing the possibility of moving from GitLab to GitHub.

This is the list of the prototype repositories and their roles.

If you have any questions or ideas, feel free to start a discussion on GitHub Discussions in autowarefoundation/autoware.


Note: Detailed setup documents will be put into autowarefoundation/autoware-documentation soon.

Installation

Prerequisite

sudo apt-get -y update
sudo apt-get -y install git

How to set up a development environment

There are two ways of installation. Choose one depending on your preference.

  1. Docker installation

    Docker can ensure that all developers in a project have a common, consistent development environment. It is recommended for beginners, light users, people who do not use Ubuntu.

  2. Source installation

    Source installation is for the cases where more granular control of the installation environment is needed. It is recommended for skilled users or people who want to customize the environment.

    Note that some problems may occur depending on your local environment.

Docker installation

  1. Clone autowarefoundation/autoware and move to the directory.

    git clone https://github.com/autowarefoundation/autoware.git
    cd autoware
  2. Install the dependencies.

    ./setup-dev-env.sh docker

See docker/README.md for the usage.

Source installation

  1. Clone autowarefoundation/autoware and move to the directory.

    git clone https://github.com/autowarefoundation/autoware.git
    cd autoware
  2. Install the dependencies.

    Note: Before installing NVIDIA libraries, confirm and agree with the licenses.

    ./setup-dev-env.sh

How to set up a workspace

Suppose that you've installed a development environment.

  1. Create the src directory and clone repositories into it.

    mkdir src
    vcs import src < autoware.repos
  2. Install dependent ROS packages.

    source /opt/ros/galactic/setup.bash
    rosdep install --from-paths src --ignore-src --rosdistro $ROS_DISTRO
  3. Build the workspace.

    colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release

Usage

Suppose that you've set up a workspace.

How to run a closed-loop simulation

  1. Download a sample map here and unzip it.

    cd ~/Downloads
    unzip planning_simulator_sample_map.zip -d sample_map
  2. Launch a simulation.

    source install/setup.bash
    ros2 launch tier4_autoware_launch planning_simulator.launch.xml vehicle_model:=lexus sensor_model:=aip_xx1 map_path:=$HOME/Downloads/sample_map

Note: More tutorials will be written here soon.