Ubuntu 22.04
ROS2 humble
nvidia-smi: Driver Version: 555.42.02 CUDA Version: 12.5
make sure there is no old 'autoware', 'autoware_data', 'autoware_map' folder
cd ~
update and git install
sudo apt-get -y update
sudo apt-get -y install git
git clone
git clone https://github.com/autowarefoundation/autoware.git
gdown -O ~/autoware_map/ 'https://docs.google.com/uc?export=download&id=1499_nsbUbIeturZaDj7jhUownh5fvXHd'
unzip -d ~/autoware_map ~/autoware_map/sample-map-planning.zip
free -h
if you do not have 32G memory, do the following:
Remove the current swapfile
sudo swapoff /swapfile
sudo rm /swapfile
Create a new swapfile
sudo fallocate -l 32G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
Check if the change is reflected
free -h
In autoware folder
cd autoware
./setup-dev-env.sh
mkdir src
vcs import src < autoware.repos
sudo apt update
rosdep update
rosdep install -y --from-paths src --ignore-src --rosdistro $ROS_DISTRO
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release
colon build will take up to 1 hour, could quit and terminal all other processes to avoid stuck.
Docker Image: ghcr.io/autowarefoundation/autoware:latest-devel-cuda In autoware folder
cd autoware
./setup-dev-env.sh -y --download-artifacts docker
./docker/run.sh --devel --map-path ~/autoware_map/sample-map-planning --workspace ~/autoware
After these, you should launch Autoware and rviz successfully, and you could see the same screen as shown in Planning simulation
Local folder 'autoware' will be mounted on '/workspace' by default.
Docker Images: ghcr.io/autowarefoundation/autoware-universe:latest-cuda
git clone https://github.com/autowarefoundation/autoware.git
cd autoware
cd autoware
./setup-dev-env.sh -y --download-artifacts docker
rocker --nvidia --x11 --user --volume $HOME/autoware_data -- ghcr.io/autowarefoundation/autoware-universe:latest-cuda
This will mount your local folder
cd ~
sudo apt-get -y update
sudo apt-get -y install git
sudo apt-get install unzip
git clone https://github.com/autowarefoundation/autoware.git
gdown -O ~/autoware_map/ 'https://docs.google.com/uc?export=download&id=1499_nsbUbIeturZaDj7jhUownh5fvXHd'
unzip -d ~/autoware_map ~/autoware_map/sample-map-planning.zip
cd autoware
mkdir src
vcs import src < autoware.repos
sudo apt update
rosdep update
rosdep install -y --from-paths src --ignore-src --rosdistro $ROS_DISTRO
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release
On your local machine
docker pull ariiees/openadk:build
You can check this imageID using the following command:
docker images
Put this imageID into the following command:
docker run -it -v $HOME/autoware_data:$HOME/autoware_data -e DISPLAY -e TERM -e QT_X11_NO_MITSHM=1 -e XAUTHORITY=/tmp/.docker5guv3arw.xauth -v /tmp/.docker5guv3arw.xauth:/tmp/.docker5guv3arw.xauth -v /tmp/.X11-unix:/tmp/.X11-unix -v /etc/localtime:/etc/localtime:ro [imageID] /bin/bash
Inside the docker, test tutorial
source ~/autoware/install/setup.bash
ros2 launch autoware_launch planning_simulator.launch.xml map_path:=$HOME/autoware_map/sample-map-planning vehicle_model:=sample_vehicle sensor_model:=sample_sensor_kit